Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

execution::can_connect

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

template<
    typename S,
    typename R>
struct can_connect

Class template can_connect is a trait that is derived from true_type if the expression execution::connect(std::declval<S>(), std::declval<R>()) is well formed; otherwise false_type.

Requirements

Header: boost/asio/execution/connect.hpp

Convenience header: boost/asio/execution.hpp


PrevUpHomeNext