![]() |
Home | Libraries | People | FAQ | More |
Constructor.
template<
class InputIt>
explicit
string(
InputIt first,
InputIt last,
storage_ptr
sp = {});
Construct the contents with copies of characters in the range {first, last)
.
Linear in std::distance(first, last)
.
Strong guarantee. Calls to memory_resource::allocate
may throw.
Type |
Description |
---|---|
|
The type of the iterators. |
InputIt
satisfies InputIterator.
Name |
Description |
---|---|
|
An input iterator pointing to the first character to insert, or pointing to the end of the range. |
|
An input iterator pointing to the end of the range. |
|
An optional pointer to the |
Type |
Thrown On |
---|---|
boost::system::system_error |
|