BloombergLP::bslx::operator>>

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

Synopsis

Declared in <bslx_testinstream.h>

template<class TYPE>
TestInStream&
operator>>(
    TestInStream& 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
streamtest input stream to read from
valueBDEX-compliant value to unexternalize