Difference between revisions of "Template:cpp/container/push back"
From cppreference.com
(added some formatting) |
(added <iostream> header) |
||
Line 32: | Line 32: | ||
| code= | | code= | ||
#include <{{{1}}}> | #include <{{{1}}}> | ||
+ | #include <iostream> | ||
int main() | int main() |
Revision as of 06:05, 4 July 2011
Template:cpp/container//sidebar Template:ddcl list begin <tr class="t-dcl ">
<td >void push_back( const T& value );
</td>
<td class="t-dcl-nopad"> </td> <td > Template:cpp/container/mark c++0x feature </td> </tr> <tr class="t-dcl ">
<td >void push_back( T&& value );
</td>
<td class="t-dcl-nopad"> </td> <td > Template:mark c++0x feature </td> </tr> Template:ddcl list end
Appends the given element value
to the end of the container.
value | - | the value of the element to append |
Template:returns Template:return none
Template:complex Template:complex constant.
This section is incomplete Reason: no example |