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

require

A customisation point that applies a concept-preserving property to an object.

constexpr unspecified require = unspecified;

The name require denotes a customisation point object. The expression boost::asio::require(E, P0, Pn...) for some subexpressions E and P0, and where Pn... represents N subexpressions (where N is 0 or more, and with types T = decay_t<decltype(E)> and Prop0 = decay_t<decltype(P0)>) is expression-equivalent to:

Requirements

Header: boost/asio/require.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext