...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Default constructor.
close_reason();
» more...
Construct from a code.
close_reason(
std::uint16_t code_);
» more...
Construct from a reason string. code is close_code::normal.
close_reason(
string_view s);
» more...
Construct from a reason string literal. code is close_code::normal.
close_reason(
char const* s);
» more...
Construct from a close code and reason string.
close_reason(
close_code code_,
string_view s);
» more...