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_result

A type trait that determines the result type of a prefer expression.

template<
    typename T,
    typename... Properties>
struct prefer_result
Types

Name

Description

type

The result of the prefer expression.

Class template prefer_result is a trait that determines the result type of the expression boost::asio::prefer(std::declval<T>(), std::declval<Properties>()...).

Requirements

Header: boost/asio/prefer.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext