template <typename InnerMatcher>

class PointeeMatcher

Defined at line 1932 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h

Implements the Pointee(m) matcher for matching a pointer whose

pointee matches matcher m. The pointer can be either raw or smart.

Public Methods

void PointeeMatcher<InnerMatcher> (const InnerMatcher & matcher)

Defined at line 1934 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h

template <typename Pointer>
Matcher<Pointer> operator testing::Matcher<type-parameter-1-0> ()

This type conversion operator template allows Pointee(m) to be

used as a matcher for any pointer type whose pointee type is

compatible with the inner matcher, where type Pointer can be

either a raw pointer or a smart pointer.

The reason we do this instead of relying on

MakePolymorphicMatcher() is that the latter is not flexible

enough for implementing the DescribeTo() method of Pointee().

Defined at line 1945 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h

Records