bsl::basic_string::assign

Assign to this string the value of the specified null-terminated characterString (of length CHAR_TRAITS::length(characterString)), and return a reference providing modifiable access to this string.

Synopsis

Declared in <bslstl_string.h>

basic_string&
assign(CHAR_TYPE const* characterString);