Prepend a copy of value to the front of this deque.
Synopsis
Declared in <bslstl_deque.h>
void
push_front(VALUE_TYPE const& value);
Description
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}).
Parameters
Name |
Description |
value |
value to copy‐prepend |
Created with MrDocs