[#bsl-vector-0cf-push_back-0c]
= xref:bsl.adoc[bsl]::xref:bsl/vector-0cf.adoc[vector&lt;unsigned char&gt;]::push&lowbar;back
:relfileprefix: ../../
:mrdocs:

`push&lowbar;back` overloads

== Synopses

Declared in `&lt;bslstl&lowbar;vector&period;h&gt;`

Append to the end of this vector the specified move&hyphen;insertable `value`&period; `value` is left in a valid but unspecified state&period; If an exception is thrown (other than by the move constructor of a non&hyphen;copy&hyphen;insertable `value&lowbar;type`), `&ast;this` is unaffected&period; Throw `std&colon;&colon;length&lowbar;error` if `size() &equals;&equals; max&lowbar;size()`&period; This method requires that the (template parameter) type `VALUE&lowbar;TYPE` be `move&hyphen;insertable` into this vector (see &lcub;Requirements on `VALUE&lowbar;TYPE`&rcub;)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:bsl/vector-0cf/push_back-06.adoc[push&lowbar;back](xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef&lt;unsigned char&gt;] value);
----

[.small]#xref:bsl/vector-0cf/push_back-06.adoc[_» more&period;&period;&period;_]#

Append to the end of this vector a copy of the specified `value`&period; If an exception is thrown, `&ast;this` is unaffected&period; Throw `std&colon;&colon;length&lowbar;error` if `size() &equals;&equals; max&lowbar;size()`&period; This method requires that the (template parameter) type `VALUE&lowbar;TYPE` be `copy&hyphen;constructible` (see &lcub;Requirements on `VALUE&lowbar;TYPE`&rcub;)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:bsl/vector-0cf/push_back-0b.adoc[push&lowbar;back](unsigned char const& value);
----

[.small]#xref:bsl/vector-0cf/push_back-0b.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
