18 Sockets [socket]

18.2 Requirements [socket.reqmts]

18.2.7 Acceptable protocol requirements [socket.reqmts.acceptableprotocol]

A type X meets the AcceptableProtocol requirements if it satisfies the requirements of Protocol ([socket.reqmts.protocol]) as well as the additional requirements listed below.

Table 26 — AcceptableProtocol requirements
expressionreturn typeassertion/note pre/post-conditions
X::socket A type that satisfies the requirements of Destructible (C++ 2014 [destructible]) and MoveConstructible (C++ 2014 [moveconstructible]), and that is publicly and unambiguously derived from basic_socket<X>.