template <typename T>
class Matcher
Defined at line 463 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
A Matcher
<T
> is a copyable and IMMUTABLE (except by assignment)
object that can check whether a value of type T matches. The
implementation of Matcher
<T
> is just a std::shared_ptr to const
MatcherInterface
<T
>. Don't inherit from Matcher!
Public Methods
void Matcher<T> ()
Constructs a null matcher. Needed for storing Matcher objects in STL
containers. A default-constructed matcher is not yet initialized. You
cannot use it until a valid value has been assigned to it.
Defined at line 468 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
void Matcher<T> (const MatcherInterface<const T &> * impl)
Constructs a matcher from its implementation.
Defined at line 471 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
template <typename U>
void Matcher<T> (const MatcherInterface<U> * impl, typename std::enable_if<!std::is_same<U, const U &>::value>::type * )
Defined at line 475 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<T> (M && m)
Defined at line 483 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
void Matcher<T> (T value)
Constructs a Matcher
<T
> from a 'value' of type T. The constructed
matcher matches any value that's equal to 'value'.
Defined at line 868 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h