...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Construct and open a experimental::basic_concurrent_channel
.
template< typename ExecutionContext> basic_concurrent_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.