BloombergLP::bslx::operator<<

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

Synopsis

Declared in <bslx_byteoutstream.h>

template<class TYPE>
ByteOutStream&
operator<<(
    ByteOutStream& 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
streamoutput stream to write to
valuevalue to externalize