bsl::list::push_front

push_front overloads

Synopses

Declared in <bslstl_list.h>

Prepend the specified move-insertable value to the front of this list.

void
push_front(BloombergLP::bslmf::MovableRef<value_type> value);
» more...

Prepend a copy of the specified value to the front of this list.

void
push_front(value_type const& value);
» more...

Parameters

NameDescription
valueelement to move-prepend