Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This version of Boost is under active development. You are currently in the develop branch. The current version is 1.91.0.
Construct and open a experimental::basic_channel.
template< typename ExecutionContext> basic_channel( ExecutionContext & context, std::size_t max_buffer_size = 0, constraint_t< is_convertible< ExecutionContext &, execution_context & >::value, defaulted_constraint > = defaulted_constraint());
This constructor creates and opens a channel.
An execution context which provides the I/O executor that the channel will use, by default, to dispatch handlers for any asynchronous operations performed on the channel.
The maximum number of messages that may be buffered in the channel.