|
inlineconstexpr |
Insert multiple characters.
| __p | Const_iterator referencing location in string to insert at. |
| __n | Number of characters to insert |
| __c | The character to insert. |
| std::length_error | If new length exceeds max_size(). |
Inserts __n copies of character __c starting at the position referenced by iterator __p. If adding characters causes the length to exceed max_size(), length_error is thrown. The value of the string doesn't change if an error is thrown.
Definition at line 2033 of file basic_string.h.
Referenced by std::money_get< _CharT, _InIter >::_M_extract(), std::money_put< _CharT, _OutIter >::_M_insert(), std::basic_string< _CharT >::insert(), std::basic_string< _CharT >::insert(), std::basic_string< _CharT >::insert(), std::basic_string< _CharT >::insert(), and std::basic_string< _CharT >::insert().
