Assign to this string the value of the specified string, and return a reference providing modifiable access to this string.
Synopsis
Declared in <bslstl_string.h>
template<class ALLOC2>
basic_string&
assign(std::basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOC2> const& string);
Return Value
reference providing modifiable access to this string
Parameters
Name |
Description |
string |
null‐terminated character string |
Created with MrDocs