Return a non‐null pointer if this stream is valid, and null otherwise.

Synopsis

Declared in <bslx_byteoutstream.h>

operator void const*() const;

Description

Return a non‐zero value if this stream is valid, and 0 otherwise. 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