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

`push` overloads

== Synopses

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

Push a moved `value` onto the top of this stack&period;


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

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

Push the specified `value` onto the top of this stack&period;


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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| value moved onto the top of this stack
|===


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