Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

can_require

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

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

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

Requirements

Header: boost/asio/require.hpp

Convenience header: boost/asio.hpp


PrevUpHomeNext