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 is the documentation for a snapshot of the develop branch, built from commit 2daa88693b.
PrevUpHomeNext
test::basic_stream::basic_stream (3 of 7 overloads)

Construct a stream.

Synopsis
template<
    class ExecutionContext,
    class = typename std::enable_if<            std::is_convertible<ExecutionContext&, net::execution_context&>::value>::type>
basic_stream(
    ExecutionContext& context);
Description

The stream will be created in a disconnected state.

Parameters

Name

Description

context

The io_context object that the stream will use to dispatch handlers for any asynchronous operations.


PrevUpHomeNext