![]() |
Home | Libraries | People | FAQ | More |
Insert into the string.
constexprbasic_static_string::iteratorinsert(basic_static_string::const_iteratorpos,basic_static_string::size_typecount,basic_static_string::value_typech);
Inserts count copies
of ch before the character
pointed by pos.
pos shall 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 number of characters to insert. |
|
|
The character to insert. |
|
Type |
Thrown On |
|---|---|
|
|
|