![]() |
Home | Libraries | People | FAQ | More |
Construct a string
.
value(string_view
s,storage_ptr
sp = {});
The string is constructed with a copy of the string view s
, using the specified memory resource.
Linear in s.size()
.
Strong guarantee. Calls to memory_resource::allocate
may throw.
Name |
Description |
---|---|
|
The string view to construct with. |
|
A pointer to the |