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(
char const* s,
storage_ptr sp = {});
Construct the contents with those of the null terminated string pointed
to by s. The length of
the string is determined by the first null character.
Linear in strlen(s).
Strong guarantee. Calls to memory_resource::allocate
may throw.
|
Name |
Description |
|---|---|
|
|
A pointer to a character string used to copy from. |
|
|
An optional pointer to the |
|
Type |
Thrown On |
|---|---|
boost::system::system_error |
|