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>
214 inline void StreamHelper(internal::false_type ,
224 const internal::scoped_ptr< ::std::stringstream> ss_;
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)
std::stringstream & operator<<(std::stringstream &out, const std::wstring &ws)
bool_constant< true > true_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
bool_constant< bool_value > type