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 a snapshot of the develop branch, built from commit 5f0ff1c60c.
PrevUpHomeNext
http::basic_fields::erase (2 of 3 overloads)

Remove all fields with the specified name.

Synopsis
std::size_t
erase(
    field name);
Description

All fields with the same field name are erased from the container. References and iterators to the erased elements are invalidated. Other references and iterators are not affected.

Parameters

Name

Description

name

The field name.

Return Value

The number of fields removed.


PrevUpHomeNext