BloombergLP::bslx::operator<<

Write a BDEX-compliant value to the specified test output stream.

Synopsis

Declared in <bslx_testoutstream.h>

template<class TYPE>
TestOutStream&
operator<<(
    TestOutStream& stream,
    TYPE const& value);

Description

Write the specified value to the specified output stream following the requirements of the BDEX protocol (see the bslx package-level documentation), and return a reference to stream. The behavior is undefined unless TYPE is BDEX-compliant.

Return Value

a reference to stream

Parameters

NameDescription
streamtest output stream to write to
valueBDEX-compliant value to externalize