push_back overloads

Synopses

Declared in <bslstl_deque.h>

Append to the back of this deque 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_TYPE be move‐insertable into this deque (see {Requirements on VALUE_TYPE}).

Append to the back of this deque 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_TYPE be copy‐constructible (see {Requirements on VALUE_TYPE}).

void
push_back(VALUE_TYPE const& value);

Created with MrDocs