boost::capy::strand::strand

Constructors

Synopses

Declared in <boost/capy/ex/strand.hpp>

Copy constructor.

strand(strand const& other) = default;

Move constructor.

strand(strand&& other) = default;

Construct a strand for the specified executor.

template<typename Ex1>
requires !std::is_same_v<std::decay_t<Ex1>, strand> &&
            !detail::is_strand<std::decay_t<Ex1>>::value &&
            std::is_convertible_v<Ex1, Ex>
explicit
strand(Ex1&& ex);

Parameters

Name Description

ex

The inner executor to wrap. Coroutines will ultimately be dispatched through this executor.

Created with MrDocs