BloombergLP::bdlt::operator<<

Write the specified object to the specified stream in single-line form.

Synopsis

Declared in <bdlt_timetz.h>

std::ostream&
operator<<(
    std::ostream& stream,
    TimeTz const& object);

Description

Write the value of the specified object to the specified output stream in a single-line format, and return a reference providing modifiable access to stream. If stream is not valid on entry, this operation has no effect. Note that this human-readable format is not fully specified and can change without notice. Also note that this method has the same behavior as object.print(stream, 0, -1), but with the attribute names elided.

Return Value

a reference providing modifiable access to stream

Parameters

NameDescription
streamoutput stream
objectobject to write