...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( 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 |