Boost C++ Libraries Home Libraries People FAQ More

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 boost::asio::prefer(std::declval<T>(), std::declval<Properties>()...) is well formed; otherwise false_type.

Requirements

Header: boost/asio/prefer.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext