bsl::vector<unsigned char>::assign

Assign to this object the value resulting from first clearing this vector and then inserting (in order) each VALUE_TYPE object in the specified values initializer list. If an exception is thrown, *this is left in a valid but unspecified state. This method requires that the (template parameter) type VALUE_TYPE be copy-insertable into this vector (see {Requirements on VALUE_TYPE}).

Synopsis

Declared in <bslstl_vector.h>

void
assign(std::initializer_list<unsigned char> values);