[#bsl-list-054-push_front-03] = xref:bsl.adoc[bsl]::xref:bsl/list-054.adoc[list]::push_front :relfileprefix: ../../ :mrdocs: `push_front` overloads == Synopses Declared in `<bslstl_list.h>` Prepend to the front of this list the specified move‐insertable `value`. `value` is left in a valid but unspecified state. If an exception is thrown (other than by the move constructor of a non‐copy‐insertable `value_type`), this method has no effect. This method requires that the (template parameter) `VALUE` be `move‐insertable` into this list (see {Requirements on `VALUE`}). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/list-054/push_front-0e.adoc[push_front](xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<value_type>] value); ---- [.small]#xref:bsl/list-054/push_front-0e.adoc[_» more..._]# Prepend to the front of this list a copy of the specified `value`. This method offers full guarantee of rollback in case an exception is thrown. This method requires that the (template parameter) `VALUE` be `copy‐constructible` (see {Requirements on `VALUE`}). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:bsl/list-054/push_front-0d.adoc[push_front](xref:bsl/list-054/value_type.adoc[value_type] const& value); ---- [.small]#xref:bsl/list-054/push_front-0d.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#