asio C++ library

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 asio::prefer(std::declval<T>(), std::declval<Properties>()...).

Requirements

Header: asio/prefer.hpp

Convenience header: asio.hpp


PrevUpHomeNext