Write the value of the specified rhs object to the specified output stream in a single-line format, and return a reference to the modifyable stream. If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified, can change without notice, and is logically equivalent to: ` print(stream, 0, -1); ` Single line output format for the DatumError object is shown below: ` error(n) error(n,'msg') ` (where n is the integer error code value and msg is the error message value in single quotes). Note that the first version will be output if there is no error message string.
Declared in <bdld_datumerror.h>
std::ostream&
operator<<(
std::ostream& stream,
DatumError const& rhs);