BloombergLP::bslx::TestOutStream::TestOutStream

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);
» more...

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

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

Parameters

NameDescription
versionSelectorcompile-time version selector (e.g., YYYYMMDD)
basicAllocatormemory allocator; null uses the default
initialCapacityinitial buffer capacity in bytes