boost::capy::any_executor::any_executor

Constructors

Synopses

Default constructor.

constexpr
any_executor() = default;

Copy constructor.

any_executor(any_executor const& other) = default;

Constructs from any executor type.

template<class Ex>
requires (
            !std::same_as<std::decay_t<Ex>, any_executor> &&
            !detail::is_strand_type<std::decay_t<Ex>>::value &&
            std::copy_constructible<std::decay_t<Ex>>)
any_executor(Ex&& ex);

Parameters

Name Description

ex

The executor to wrap. A copy is stored internally.

Created with MrDocs