Return a non‐zero value if this stream is valid, and 0 otherwise.

Synopsis

Declared in <bslx_testoutstream.h>

operator void const*() const;

Description

An invalid stream is a stream for which an output operation was detected to have failed or invalidate was called.

Return Value

non‐null if valid; null otherwise

Created with MrDocs