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

PrevUpHomeNext

can_prefer

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

template<
    typename T,
    typename... Properties>
struct can_prefer :
  public integral_constant< bool, automatically_determined >

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