push_front overloads
Synopses
Declared in <bslstl_deque.h>
Prepend to the front 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}).
Prepend to the front 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_front(VALUE_TYPE const& value);
Created with MrDocs