Bind this string reference to a null‐terminated C string.
Synopsis
Declared in <bslstl_stringref.h>
void
assign(CHAR_TYPE const* data);
Description
Bind this string reference to the string at the specified data address and extending for std::char_traits<CHAR_TYPE>::length(data) characters. The string at the data address must remain valid as long as it is bound to this string reference. The behavior is undefined unless data is null‐terminated.
Parameters
Name |
Description |
data |
null‐terminated character string to reference |
Created with MrDocs