template <>

class Matcher

Defined at line 493 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h

The following two specializations allow the user to write str

instead of Eq(str) and "foo" instead of Eq("foo") when a std::string

matcher is expected.

Public Methods

void Matcher ()

Defined at line 497 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h

void Matcher (const MatcherInterface<const std::string &> * impl)

Defined at line 499 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h

template <typename M, typename = typename std::remove_reference<
                                                M>::type::is_gtest_matcher>
void Matcher (M && m)

Defined at line 504 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h

void Matcher (const std::string & s)

Allows the user to write str instead of Eq(str) sometimes, where

str is a std::string object.

void Matcher (const char * s)

Allows the user to write "foo" instead of Eq("foo") sometimes.