![]() |
Home | Libraries | People | FAQ | More |
Assign characters to a string.
string& assign( char const* s);
Replaces the contents with those of the null terminated string pointed
to by s. The length of
the string is determined by the first null character.
Linear in strlen(s).
Strong guarantee.
Calls to memory_resource::allocate
may throw.
*this
|
Name |
Description |
|---|---|
|
|
A pointer to a character string used to copy from. |
|
Type |
Thrown On |
|---|---|
|
|
|