Assign to this deque the elements of values.
Synopsis
Declared in <bslstl_deque.h>
void
assign(std::initializer_list<value_type> values);
Description
Assign to this object the value resulting from first clearing this deque and then appending each value_type object in the specified values initializer list. This method requires that the (template parameter) VALUE_TYPE be copy‐assignable and copy‐insertable into this deque (see {Requirements on VALUE_TYPE}).
Parameters
Name |
Description |
values |
initializer list of elements to assign |
Created with MrDocs