bsl::PrintTo

Write the specified value to the specified *stream, surrounded by double quotes.

Synopsis

Declared in <bslim_gtestutil.h>

template<class TYPE>
void
PrintTo(
    optional<TYPE> const& value,
    std::ostream* stream);

Parameters

NameDescription
valueoptional value to write
streamstream to which the representation is written