![]() |
Home | Libraries | People | FAQ | More |
Assign to the string.
template< typename InputIterator> basic_static_string& assign( InputIterator first, InputIterator last);
Replaces the contents with the characters in the range {first, last).
Linear in std::distance(first, last).
Strong guarantee.
|
Type |
Description |
|---|---|
|
|
The type of the iterators. |
InputIteratorsatisfies
InputIterator.
*this
|
Name |
Description |
|---|---|
|
|
An iterator referring to the first character to assign. |
|
|
An iterator past the end of the range to assign from. |
|
Type |
Thrown On |
|---|---|
|
|
|