[#bsl-stack-05-push-0b]
= xref:bsl.adoc[bsl]::xref:bsl/stack-05.adoc[stack]::push
:relfileprefix: ../../
:mrdocs:

Push onto this stack 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 stack&period; `value` is left in a valid but unspecified state&period;

== Synopsis

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

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


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