template <typename Tuple2Matcher, typename Second>

class BoundSecondMatcher

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

Given a 2-tuple matcher tm of type Tuple2Matcher and a value second

of type Second, BoundSecondMatcher

<Tuple2Matcher

, Second>(tm,

second) is a polymorphic matcher that matches a value x if and only if

tm matches tuple (x, second). Useful for implementing

UnorderedPointwise() in terms of UnorderedElementsAreArray().

BoundSecondMatcher is copyable and assignable, as we need to put

instances of this class in a vector when implementing

UnorderedPointwise().

Public Methods

void BoundSecondMatcher<Tuple2Matcher, Second> (const Tuple2Matcher & tm, const Second & second)

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

void BoundSecondMatcher<Tuple2Matcher, Second> (const BoundSecondMatcher<Tuple2Matcher, Second> & other)

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

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

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

void operator= (const BoundSecondMatcher<Tuple2Matcher, Second> & )

We have to define this for UnorderedPointwise() to compile in

C++98 mode, as it puts BoundSecondMatcher instances in a vector,

which requires the elements to be assignable in C++98. The

compiler cannot generate the operator= for us, as Tuple2Matcher

and Second may not be assignable.

However, this should never be called, so the implementation just

need to assert.

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

Records