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

ssl::stream::stream

Construct a stream.

template<
    typename Arg>
stream(
    Arg & arg,
    context & ctx);

This constructor creates a stream and initialises the underlying stream object.

Parameters

arg

The argument to be passed to initialise the underlying stream.

ctx

The SSL context to be used for the stream.


PrevUpHomeNext