8#ifndef INCLUDED_BSLIM_GTESTUTIL
9#define INCLUDED_BSLIM_GTESTUTIL
68#include <bsl_optional.h>
70#include <bsl_ostream.h>
71#include <bsl_string.h>
94 bsl::ostream *d_stream_p;
113 operator bsl::ostream *()
const;
125void PrintTo(
const string& value, ostream *stream);
133void PrintTo(
const BloombergLP::bslstl::StringRef& value, ostream *stream);
156 bsl::ostream *stream)
162bslim_Gtestutil_TestingStreamHolder::operator bsl::ostream *()
const
176 if (!value.has_value()) {
177 *stream <<
"nullopt";
185 bslim_Gtestutil_TestingStreamHolder(stream));
Definition bslstl_string.h:1281
Definition bslstl_optional.h:1861
Definition bslim_gtestutil.h:91
bslim_Gtestutil_TestingStreamHolder(bsl::ostream *stream)
Create an object bound to the specified stream.
Definition bslim_gtestutil.h:155
Definition bdlb_printmethods.h:283
void PrintTo(const string &value, ostream *stream)
Definition bslim_gtestutil.h:74
Definition bslim_gtestutil.h:73