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

PrevUpHomeNext
connection::connection (1 of 3 overloads)

Initializing constructor.

Synopsis
template<
    class... Args,
    class EnableIf = typename std::enable_if<std::is_constructible<Stream, Args...>::value>::type>
connection(
    Args&&... args);
Description

As part of the initialization, an internal Stream object is created.

Exception safety

Basic guarantee. Throws if the Stream constructor throws or if memory allocation for internal state fails.

Parameters

Name

Description

args

Arguments to be forwarded to the Stream constructor.


PrevUpHomeNext