[#bsl-list-054-push_front-0d] = xref:bsl.adoc[bsl]::xref:bsl/list-054.adoc[list]::push_front :relfileprefix: ../../ :mrdocs: Prepend a copy of the specified `value` to the front of this list. == Synopsis Declared in `<bslstl_list.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void push_front(xref:bsl/list-054/value_type.adoc[value_type] const& value); ---- == Description 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`}). == Parameters [cols="1,4"] |=== | Name| Description | *value* | element to copy‐prepend |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#