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::erase

Erase characters from the string.

string&
erase(
    std::size_t pos = 0,
    std::size_t count = npos);
  » more...

Erase a character from the string.

iterator
erase(
    const_iterator pos);
  » more...

Erase a range from the string.

iterator
erase(
    const_iterator first,
    const_iterator last);
  » more...

PrevUpHomeNext