BloombergLP::bslx::operator>>

Read a BDEX-compliant value from the specified input stream.

Synopsis

Declared in <bslx_byteinstream.h>

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

Description

Read the specified value from the specified input 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
streaminput stream to read from
valuedestination for the extracted value