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
http::basic_fields::erase (1 of 3 overloads)

Remove a field.

Synopsis
const_iterator
erase(
    const_iterator pos);
Description

References and iterators to the erased elements are invalidated. Other references and iterators are not affected.

Parameters

Name

Description

pos

An iterator to the element to remove.

Return Value

An iterator following the last removed element. If the iterator refers to the last element, the end() iterator is returned.


PrevUpHomeNext