46 #ifndef GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_
47 #define GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_
51 #include "gtest/internal/gtest-port.h"
89 typedef std::ostream& (*BasicNarrowIoManip)(std::ostream&);
101 explicit Message(
const char* str) : ss_(new ::std::stringstream) {
107 template <
typename T>
114 template <
typename T>
148 template <
typename T>
172 return *
this << (b ?
"true" :
"false");
180 #if GTEST_HAS_STD_WSTRING
186 #if GTEST_HAS_GLOBAL_WSTRING
205 template <
typename T>
213 template <
typename T>
224 const internal::scoped_ptr< ::std::stringstream> ss_;
232 inline std::ostream&
operator <<(std::ostream& os,
const Message& sb) {
233 return os << sb.GetString();
242 template <
typename T>
244 return (Message() << streamable).GetString();
connection< TProtocol > & operator=(const connection< TProtocol > &obj)
std::string GetString() const
Message(const Message &msg)
void operator<<(const testing::internal::Secret &, int)
bool_constant< false > false_type
std::string StreamableToString(const T &streamable)
std::ostream & operator<<(std::ostream &os, const Message &sb)
const GenericPointer< typename T::ValueType > T2 value
const GenericPointer< typename T::ValueType > & pointer