47 #ifndef GOOGLETEST_INCLUDE_GTEST_GTEST_MESSAGE_H_
48 #define GOOGLETEST_INCLUDE_GTEST_GTEST_MESSAGE_H_
54 #include "gtest/internal/gtest-port.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
191 const std::unique_ptr< ::std::stringstream> ss_;
195 void operator=(
const Message&);
209 template <
typename T>
211 return (
Message() << streamable).GetString();
Definition: cmake-build-debug/googletest-src/googletest/include/gtest/gtest-message.h:91
std::string GetString() const
Message(const char *str)
Definition: cmake-build-debug/googletest-src/googletest/include/gtest/gtest-message.h:107
Message(const Message &msg)
Definition: cmake-build-debug/googletest-src/googletest/include/gtest/gtest-message.h:102
#define GTEST_DISABLE_MSC_WARNINGS_PUSH_(warnings)
Definition: cmake-build-debug/googletest-src/googletest/include/gtest/internal/gtest-port.h:323
#define GTEST_API_
Definition: cmake-build-debug/googletest-src/googletest/include/gtest/internal/gtest-port.h:775
#define GTEST_DISABLE_MSC_WARNINGS_POP_()
Definition: cmake-build-debug/googletest-src/googletest/include/gtest/internal/gtest-port.h:324
std::string StreamableToString(const T &streamable)
Definition: cmake-build-debug/googletest-src/googletest/include/gtest/gtest-message.h:210
Definition: cmake-build-debug/googletest-src/googlemock/include/gmock/gmock-actions.h:154
std::ostream & operator<<(std::ostream &os, const Message &sb)
Definition: cmake-build-debug/googletest-src/googletest/include/gtest/gtest-message.h:199