asio C++ library

PrevUpHomeNext

execution::can_set_value

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

template<
    typename R,
    typename... Vs>
struct can_set_value

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

Requirements

Header: asio/execution/set_value.hpp

Convenience header: asio/execution.hpp


PrevUpHomeNext