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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Acceptable protocol requirements

A type X meets the AcceptableProtocol requirements if it satisfies the requirements of Protocol as well as the additional requirements listed below.

Table 3. AcceptableProtocol requirements

expression

return type

assertion/note
pre/post-conditions

X::socket

A type that satisfies the requirements of Destructible (C++Std [destructible]) and MoveConstructible (C++Std [moveconstructible]), and that is publicly and unambiguously derived from basic_socket<X>.



PrevUpHomeNext