Return true if this stream is valid, and false otherwise.

Synopsis

Declared in <bslx_testinstream.h>

bool
isValid() const;

Description

An invalid stream is a stream in which insufficient or invalid data was detected during an extraction operation. Note that an empty stream will be valid unless an extraction attempt or explicit invalidation causes it to be otherwise.

Return Value

true if valid; false otherwise

Created with MrDocs