...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
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 |