...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Initializing constructor with buffer params.
template< class... Args, class EnableIf = typename std::enable_if<std::is_constructible<Stream, Args...>::value>::type> connection( const buffer_params& buff_params, Args&&... args);
As part of the initialization, an internal Stream
object is created.
Basic guarantee. Throws if the Stream
constructor throws or if memory allocation for internal state fails.
Name |
Description |
---|---|
|
Specifies initial sizes for internal buffers. |
|
Arguments to be forwarded to the |