![]() |
Home | Libraries | People | FAQ | More |
Constructor.
string( char const* s, std::size_t count, storage_ptr sp = {});
Construct the contents with copies of the characters in the range {s, s+count)
. This range can contain null characters.
Linear in count
.
Strong guarantee. Calls to memory_resource::allocate
may throw.
Name |
Description |
---|---|
|
The number of characters to copy. |
|
A pointer to a character string used to copy from. |
|
An optional pointer to the |
Type |
Thrown On |
---|---|
|
|