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}).

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}).

void
push_front(value_type const& value);

Created with MrDocs