Constructors

Synopses

Declared in <bslx_testoutstream.h>

Create an empty test output stream with the given version selector.

explicit
TestOutStream(
    int versionSelector,
    bslma::Allocator* basicAllocator = 0);

Create an empty test output stream with capacity and version selector.

TestOutStream(
    int versionSelector,
    std::size_t initialCapacity,
    bslma::Allocator* basicAllocator = 0);

Parameters

Name

Description

versionSelector

compile‐time version selector (e.g., YYYYMMDD)

basicAllocator

memory allocator; null uses the default

initialCapacity

initial buffer capacity in bytes

Created with MrDocs