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