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

http::header::writer
PrevUpHomeNext

(Inherited from http::basic_fields)

The algorithm used to serialize the header.

Synopsis
using writer = { bool operator()(string_view lhs, value_type const &rhs) const noexcept { if(lhs.size()< rhs.name_string().size()) return true;if(lhs.size() > rhs.name_string().size()) return false;return iless::operator()(lhs, rhs.name_string());} bool operator()(value_type const &lhs, string_view rhs) const noexcept { if(lhs.name_string().size()< rhs.size()) return true;if(lhs.name_string().size() > rhs.size()) return false;return iless::operator()(lhs.name_string(), rhs);} bool operator()(value_type const &lhs, value_type const &rhs) const noexcept { if(lhs.name_string().size()< rhs.name_string().size()) return true;if(lhs.name_string().size() > rhs.name_string().size()) return false;return iless::operator()(lhs.name_string(), rhs.name_string());} } implementation-defined;

PrevUpHomeNext