Prepend a move‐inserted value to the front of this deque.
Synopsis
Declared in <bslstl_deque.h>
void
push_front(BloombergLP::bslmf::MovableRef<value_type> value);
Description
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}).
Parameters
Name |
Description |
value |
move‐insertable value to prepend |
Created with MrDocs