Read the specified value from the specified input stream.

Synopsis

Declared in <bslx_genericinstream.h>

template<
    class STREAMBUF,
    class TYPE>
GenericInStream<STREAMBUF>&
operator>>(
    GenericInStream<STREAMBUF>& 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

Name

Description

stream

input stream from which to extract

value

object to populate from the stream

Created with MrDocs