asio C++ library

PrevUpHomeNext

can_prefer

A type trait that determines whether a prefer expression is well-formed.

template<
    typename T,
    typename... Properties>
struct can_prefer

Class template can_prefer is a trait that is derived from true_type if the expression asio::prefer(std::declval<T>(), std::declval<Properties>()...) is well formed; otherwise false_type.

Requirements

Header: asio/prefer.hpp

Convenience header: asio.hpp


PrevUpHomeNext