asio C++ library

PrevUpHomeNext

execution::can_set_done

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

template<
    typename R>
struct can_set_done

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

Requirements

Header: asio/execution/set_done.hpp

Convenience header: asio/execution.hpp


PrevUpHomeNext