boost::corosio::tcp_acceptor::tcp_acceptor

Constructors

Synopses

Copy constructor

tcp_acceptor(tcp_acceptor const& other) = delete;

Move constructor.

tcp_acceptor(tcp_acceptor&& other) noexcept;

Construct an acceptor from an execution context.

explicit
tcp_acceptor(capy::execution_context& ctx);

Construct an acceptor from an executor.

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

Parameters

Name Description

other

The acceptor to move from.

ctx

The execution context that will own this acceptor.

ex

The executor whose context will own the acceptor.

Created with MrDocs