boost::corosio::native_resolver::native_resolver

Constructors

Synopses

Copy constructor

native_resolver(native_resolver const& other) = delete;

Move construct.

native_resolver(native_resolver&& other) noexcept = default;

Construct a native resolver from an execution context.

explicit
native_resolver(capy::execution_context& ctx);

Construct a native resolver from an executor.

template<class Ex>
requires (!std::same_as<std::remove_cvref_t<Ex>, native_resolver>) &&
        capy::Executor<Ex>
explicit
native_resolver(Ex const& ex);

Parameters

Name

Description

ctx

The execution context that will own this resolver.

ex

The executor whose context will own the resolver.

Preconditions

  • No awaitables returned by other's resolve methods exist.

  • The execution context associated with other must outlive this resolver.

Created with MrDocs