BloombergLP::bslx::TestInStream::isEmpty

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

Synopsis

Declared in <bslx_testinstream.h>

bool
isEmpty() const;

Description

Note that this function enables higher-level types to verify that, after successfully reading all expected data, no data remains.

Return Value

true if empty; false otherwise