asio C++ library

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: asio/execution/connect.hpp

Convenience header: asio/execution.hpp


PrevUpHomeNext