![]() |
Home | Libraries | People | FAQ | More |
Insert into the string.
constexpr iterator insert( const_iterator pos, std::initializer_list< value_type > ilist);
Inserts characters from ilist
before pos.
posshall be valid within
{data(),
data()
+ size()}
Strong guarantee.
All references, pointers, or iterators referring to contained elements are invalidated. Any past-the-end iterators are also invalidated.
An iterator which refers to the first inserted character or pos if no characters were inserted
|
Name |
Description |
|---|---|
|
|
The position to insert at. |
|
|
The initializer list from which to insert. |
|
Type |
Thrown On |
|---|---|
|
|
|