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

prefer

A customisation point that attempts to apply a property to an object.

constexpr unspecified prefer = unspecified;

The name prefer denotes a customisation point object. The expression boost::asio::prefer(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/prefer.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext