![]() |
Home | Libraries | People | FAQ | More |
Constructor.
string( string_view s, storage_ptr sp = {});
Construct the contents with those of a string view. This view can contain null characters.
Linear in s.size()
.
Strong guarantee. Calls to memory_resource::allocate
may throw.
Name |
Description |
---|---|
|
The string view to copy from. |
|
An optional pointer to the |
Type |
Thrown On |
---|---|
|
|