47 #ifndef GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_
48 #define GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_
61 void operator<<(const testing::internal::Secret&,
int);
95 typedef std::ostream& (*BasicNarrowIoManip)(std::ostream&);
107 explicit Message(
const char* str) : ss_(new ::std::stringstream) {
112 template <
typename T>
146 template <
typename T>
148 if (pointer ==
nullptr) {
169 return *
this << (b ?
"true" :
"false");
177 #if GTEST_HAS_STD_WSTRING
181 #endif // GTEST_HAS_STD_WSTRING
187 std::string GetString()
const;
191 const std::unique_ptr< ::std::stringstream>
ss_;
195 void operator=(
const Message&);
209 template <
typename T>
211 return (
Message() << streamable).GetString();
219 #endif // GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_
#define GTEST_DISABLE_MSC_WARNINGS_POP_()
Message(const Message &msg)
std::string StreamableToString(const T &streamable)
std::ostream & operator<<(std::ostream &os, const Expr< T > &xx)
#define GTEST_DISABLE_MSC_WARNINGS_PUSH_(warnings)
std::string GetString() const
const std::unique_ptr< ::std::stringstream > ss_