![]() |
Home | Libraries | People | FAQ | More |
Assignment.
value
& operator=(string
const& s);
Replace *this
with a copy of the string s
.
Strong guarantee. Calls to memory_resource::allocate
may throw.
Linear in the sum of sizes of *this
and s
Name |
Description |
---|---|
|
The new string. |