PrintTo overloads
Synopses
Declared in <bslim_gtestutil.h>
Write the specified value to the specified *stream, surrounded by double quotes.
void
PrintTo(
BloombergLP::bslstl::StringRef const& value,
std::ostream* stream);
Write the specified value to the specified *stream, surrounded by double quotes.
Write the specified value to the specified *stream, surrounded by double quotes, writing non‐printable characters with 'x...' escapes.
Write the specified value to the specified *stream, surrounded by double quotes.
template<class TYPE>
void
PrintTo(
optional<TYPE> const& value,
std::ostream* stream);
Parameters
Name |
Description |
value |
string reference to write |
stream |
stream to which the quoted string is written |
Created with MrDocs