...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
(Inherited from http::basic_fields
)
Remove all fields with the specified name.
std::size_t erase( string_view name);
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.
Name |
Description |
---|---|
|
The field name. It is interpreted as a case-insensitive string. |
The number of fields removed.