template <size_t N>

class TuplePrefix

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

An internal helper class for doing compile-time loop on a tuple's

fields.

Public Methods

template <typename MatcherTuple, typename ValueTuple>
bool Matches (const MatcherTuple & matcher_tuple, const ValueTuple & value_tuple)

TuplePrefix

<N

>::Matches(matcher_tuple, value_tuple) returns true

if and only if the first N fields of matcher_tuple matches

the first N fields of value_tuple, respectively.

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

template <typename MatcherTuple, typename ValueTuple>
void ExplainMatchFailuresTo (const MatcherTuple & matchers, const ValueTuple & values, ::std::ostream * os)

TuplePrefix

<N

>::ExplainMatchFailuresTo(matchers, values, os)

describes failures in matching the first N fields of matchers

against the first N fields of values. If there is no failure,

nothing will be streamed to os.

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