bsl::list::push_back

push_back overloads

Synopses

Declared in <bslstl_list.h>

Append to the back 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}).

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

Append to the back 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_back(value_type const& value);
» more...