Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
string::insert

Insert a string.

string&
insert(
    std::size_t pos,
    string_view sv);
  » more...

Insert a character.

string&
insert(
    std::size_t pos,
    std::size_t count,
    char ch);
  » more...

string&
insert(
    size_type pos,
    char ch);
  » more...

Insert a range of characters.

template<
    class InputIt>
string&
insert(
    size_type pos,
    InputIt first,
    InputIt last);
  » more...

PrevUpHomeNext