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