Template:cpp/container/push back

Appends the given element to the end of the container.

@1@ The new element is initialized as a copy of.

@2@ is moved into the new element.

Return value
(none)

Exceptions
If an exception is thrown (which can be due to or element copy/move constructor/assignment), this function has no effect (strong exception guarantee). {{#ifeq: {{{1|}}} | vector | {{rrev | since=c++11 | If {{tt|T}}'s move constructor is not {{c|noexcept}} and T is not {{named req|CopyInsertable}} into {{tt|*this}}, vector will use the throwing move constructor. If it throws, the guarantee is waived and the effects are unspecified. }}