47 #ifndef GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_
48 #define GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_
60 void operator<<(const
testing::internal::Secret&,
int);
94 typedef std::ostream& (*BasicNarrowIoManip)(std::ostream&);
106 explicit Message(
const char* str) : ss_(new ::std::stringstream) {
111 template <
typename T>
145 template <
typename T>
147 if (pointer ==
nullptr) {
168 return *
this << (b ?
"true" :
"false");
176 #if GTEST_HAS_STD_WSTRING
182 #if GTEST_HAS_GLOBAL_WSTRING
196 const std::unique_ptr< ::std::stringstream> ss_;
200 void operator=(
const Message&);
214 template <
typename T>
216 return (
Message() << streamable).GetString();
std::string GetString() const
Message(const Message &msg)
#define GTEST_DISABLE_MSC_WARNINGS_PUSH_(warnings)
#define GTEST_DISABLE_MSC_WARNINGS_POP_()
std::string StreamableToString(const T &streamable)
std::ostream & operator<<(std::ostream &os, const Message &sb)