[#bsl-queue-0a5-push-0c]
= xref:bsl.adoc[bsl]::xref:bsl/queue-0a5.adoc[queue]::push
:relfileprefix: ../../
:mrdocs:

`push` overloads

== Synopses

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

Push onto the back of this queue a `value&lowbar;type` object having the value of the specified `value` (on entry) by moving the contents of `value` to the new object on this queue&period; `value` is left in a valid but unspecified state&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:bsl/queue-0a5/push-03.adoc[push](xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef&lt;value&lowbar;type&gt;] value);
----

[.small]#xref:bsl/queue-0a5/push-03.adoc[_» more&period;&period;&period;_]#

Push onto the back of this queue a `value&lowbar;type` object having the specified `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:bsl/queue-0a5/push-05.adoc[push](xref:bsl/queue-0a5/value_type.adoc[value&lowbar;type] const& value);
----

[.small]#xref:bsl/queue-0a5/push-05.adoc[_» more&period;&period;&period;_]#


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