Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
http::header::clear

(Inherited from http::basic_fields)

Remove all fields from the container.

Synopsis
void
clear();
Description

All references, pointers, or iterators referring to contained elements are invalidated. All past-the-end iterators are also invalidated.

Postconditions:
std::distance(this->[link beast.ref.boost__beast__http__header.begin `begin`](), this->[link beast.ref.boost__beast__http__header.end `end`]()) == 0

PrevUpHomeNext