[#bsl-list-054-push_front-0e]
= xref:bsl.adoc[bsl]::xref:bsl/list-054.adoc[list]::push&lowbar;front
:relfileprefix: ../../
:mrdocs:

Prepend the specified move&hyphen;insertable `value` to the front of this list&period;

== Synopsis

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

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

== Description

`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`), this method has no effect&period; This method requires that the (template parameter) `VALUE` be `move&hyphen;insertable` into this list (see &lcub;Requirements on `VALUE`&rcub;)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| element to move&hyphen;prepend
|===


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