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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
test::basic_stream::basic_stream (3 of 7 overloads)

Construct a stream.

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

The stream will be created in a disconnected state.

Parameters

Name

Description

ioc

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


PrevUpHomeNext