Assign a new value to this string.
Synopsis
Declared in <bslstl_string.h>
basic_string&
operator=(std::initializer_list<CHAR_TYPE> values);
Description
Assign to this string the value resulting from first clearing this string and then inserting (in order) each CHAR_TYPE object in the specified values initializer list.
Return Value
reference providing modifiable access to this string
Parameters
Name |
Description |
values |
initializer list of characters |
Created with MrDocs