46#ifndef GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_
47#define GTEST_INCLUDE_GTEST_GTEST_MESSAGE_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
196 std::string GetString()
const;
204 template <
typename T>
212 template <
typename T>
213 inline void StreamHelper(internal::false_type ,
223 const internal::scoped_ptr< ::std::stringstream> ss_;
227 void operator=(
const Message&);
243 return (
Message() << streamable).GetString();
std::string GetString() const
Message(const Message &msg)
DataStream & operator<<(DataStream &ds, const float64_t &v)
void operator<<(const testing::internal::Secret &, int)
std::string StreamableToString(const T &streamable)
std::ostream & operator<<(std::ostream &os, const Matcher< T > &matcher)
const GenericPointer< typename T::ValueType > & pointer
#define T(meth, val, expected)