36 #ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TUPLE_H_ 37 #define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TUPLE_H_ 46 #if defined(__SYMBIAN32__) || (defined(__SUNPRO_CC) && __SUNPRO_CC < 0x590) 47 # define GTEST_DECLARE_TUPLE_AS_FRIEND_ public: 49 # define GTEST_DECLARE_TUPLE_AS_FRIEND_ \ 50 template <GTEST_10_TYPENAMES_(U)> friend class tuple; \ 55 #define GTEST_0_TUPLE_(T) tuple<> 56 #define GTEST_1_TUPLE_(T) tuple<T##0, void, void, void, void, void, void, \ 58 #define GTEST_2_TUPLE_(T) tuple<T##0, T##1, void, void, void, void, void, \ 60 #define GTEST_3_TUPLE_(T) tuple<T##0, T##1, T##2, void, void, void, void, \ 62 #define GTEST_4_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, void, void, void, \ 64 #define GTEST_5_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, void, void, \ 66 #define GTEST_6_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, void, \ 68 #define GTEST_7_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, T##6, \ 70 #define GTEST_8_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, T##6, \ 72 #define GTEST_9_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, T##6, \ 74 #define GTEST_10_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, T##6, \ 78 #define GTEST_0_TYPENAMES_(T) 79 #define GTEST_1_TYPENAMES_(T) typename T##0 80 #define GTEST_2_TYPENAMES_(T) typename T##0, typename T##1 81 #define GTEST_3_TYPENAMES_(T) typename T##0, typename T##1, typename T##2 82 #define GTEST_4_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \ 84 #define GTEST_5_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \ 85 typename T##3, typename T##4 86 #define GTEST_6_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \ 87 typename T##3, typename T##4, typename T##5 88 #define GTEST_7_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \ 89 typename T##3, typename T##4, typename T##5, typename T##6 90 #define GTEST_8_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \ 91 typename T##3, typename T##4, typename T##5, typename T##6, typename T##7 92 #define GTEST_9_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \ 93 typename T##3, typename T##4, typename T##5, typename T##6, \ 94 typename T##7, typename T##8 95 #define GTEST_10_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \ 96 typename T##3, typename T##4, typename T##5, typename T##6, \ 97 typename T##7, typename T##8, typename T##9 105 template <
typename T0 =
void,
typename T1 =
void,
typename T2 =
void,
106 typename T3 =
void,
typename T4 =
void,
typename T5 =
void,
107 typename T6 =
void,
typename T7 =
void,
typename T8 =
void,
113 namespace gtest_internal {
116 template <
typename T>
118 template <
typename T>
122 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type 126 template <
typename T>
128 template <
typename T>
132 #define GTEST_ADD_REF_(T) typename ::std::tr1::gtest_internal::AddRef<T>::type 135 template <
int k>
class Get;
139 template <
bool kIndexVal
id,
int kIndex,
class Tuple>
142 template <GTEST_10_TYPENAMES_(T)>
145 template <GTEST_10_TYPENAMES_(T)>
148 template <GTEST_10_TYPENAMES_(T)>
151 template <GTEST_10_TYPENAMES_(T)>
154 template <GTEST_10_TYPENAMES_(T)>
157 template <GTEST_10_TYPENAMES_(T)>
160 template <GTEST_10_TYPENAMES_(T)>
163 template <GTEST_10_TYPENAMES_(T)>
166 template <GTEST_10_TYPENAMES_(T)>
169 template <GTEST_10_TYPENAMES_(T)>
182 template <GTEST_1_TYPENAMES_(T)>
183 class GTEST_1_TUPLE_(T) {
191 tuple(
const tuple& t) : f0_(t.
f0_) {}
193 template <GTEST_1_TYPENAMES_(U)>
196 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
198 template <GTEST_1_TYPENAMES_(U)>
205 template <GTEST_1_TYPENAMES_(U)>
214 template <GTEST_2_TYPENAMES_(T)>
215 class GTEST_2_TUPLE_(T) {
219 tuple() : f0_(), f1_() {}
224 tuple(
const tuple& t) : f0_(t.
f0_), f1_(t.
f1_) {}
226 template <GTEST_2_TYPENAMES_(U)>
228 template <
typename U0,
typename U1>
229 tuple(const ::std::pair<U0, U1>& p) : f0_(p.first), f1_(p.second) {}
231 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
233 template <GTEST_2_TYPENAMES_(U)>
237 template <
typename U0,
typename U1>
238 tuple& operator=(const ::std::pair<U0, U1>& p) {
246 template <GTEST_2_TYPENAMES_(U)>
257 template <GTEST_3_TYPENAMES_(T)>
258 class GTEST_3_TUPLE_(T) {
262 tuple() : f0_(), f1_(), f2_() {}
267 tuple(
const tuple& t) : f0_(t.
f0_), f1_(t.
f1_), f2_(t.
f2_) {}
269 template <GTEST_3_TYPENAMES_(U)>
270 tuple(
const GTEST_3_TUPLE_(
U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_) {}
272 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
274 template <GTEST_3_TYPENAMES_(U)>
281 template <GTEST_3_TYPENAMES_(U)>
294 template <GTEST_4_TYPENAMES_(T)>
295 class GTEST_4_TUPLE_(T) {
299 tuple() : f0_(), f1_(), f2_(), f3_() {}
305 tuple(
const tuple& t) : f0_(t.
f0_), f1_(t.
f1_), f2_(t.
f2_), f3_(t.
f3_) {}
307 template <GTEST_4_TYPENAMES_(U)>
308 tuple(
const GTEST_4_TUPLE_(
U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_),
311 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
313 template <GTEST_4_TYPENAMES_(U)>
320 template <GTEST_4_TYPENAMES_(U)>
335 template <GTEST_5_TYPENAMES_(T)>
336 class GTEST_5_TUPLE_(T) {
340 tuple() : f0_(), f1_(), f2_(), f3_(), f4_() {}
346 tuple(
const tuple& t) : f0_(t.
f0_), f1_(t.
f1_), f2_(t.
f2_), f3_(t.
f3_),
349 template <GTEST_5_TYPENAMES_(U)>
350 tuple(
const GTEST_5_TUPLE_(
U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_),
351 f3_(t.f3_), f4_(t.f4_) {}
353 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
355 template <GTEST_5_TYPENAMES_(U)>
362 template <GTEST_5_TYPENAMES_(U)>
379 template <GTEST_6_TYPENAMES_(T)>
380 class GTEST_6_TUPLE_(T) {
384 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_() {}
391 tuple(
const tuple& t) : f0_(t.
f0_), f1_(t.
f1_), f2_(t.
f2_), f3_(t.
f3_),
394 template <GTEST_6_TYPENAMES_(U)>
395 tuple(
const GTEST_6_TUPLE_(
U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_),
396 f3_(t.f3_), f4_(t.f4_), f5_(t.f5_) {}
398 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
400 template <GTEST_6_TYPENAMES_(U)>
407 template <GTEST_6_TYPENAMES_(U)>
426 template <GTEST_7_TYPENAMES_(T)>
427 class GTEST_7_TUPLE_(T) {
431 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_() {}
436 f3_(f3), f4_(f4), f5_(f5), f6_(f6) {}
438 tuple(
const tuple& t) : f0_(t.
f0_), f1_(t.
f1_), f2_(t.
f2_), f3_(t.
f3_),
441 template <GTEST_7_TYPENAMES_(U)>
442 tuple(
const GTEST_7_TUPLE_(
U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_),
443 f3_(t.f3_), f4_(t.f4_), f5_(t.f5_), f6_(t.f6_) {}
445 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
447 template <GTEST_7_TYPENAMES_(U)>
454 template <GTEST_7_TYPENAMES_(U)>
475 template <GTEST_8_TYPENAMES_(T)>
476 class GTEST_8_TUPLE_(T) {
480 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_() {}
486 f5_(f5), f6_(f6), f7_(f7) {}
488 tuple(
const tuple& t) : f0_(t.
f0_), f1_(t.
f1_), f2_(t.
f2_), f3_(t.
f3_),
491 template <GTEST_8_TYPENAMES_(U)>
492 tuple(
const GTEST_8_TUPLE_(
U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_),
493 f3_(t.f3_), f4_(t.f4_), f5_(t.f5_), f6_(t.f6_), f7_(t.f7_) {}
495 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
497 template <GTEST_8_TYPENAMES_(U)>
504 template <GTEST_8_TYPENAMES_(U)>
527 template <GTEST_9_TYPENAMES_(T)>
528 class GTEST_9_TUPLE_(T) {
532 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_() {}
538 f5_(f5), f6_(f6), f7_(f7), f8_(f8) {}
540 tuple(
const tuple& t) : f0_(t.
f0_), f1_(t.
f1_), f2_(t.
f2_), f3_(t.
f3_),
543 template <GTEST_9_TYPENAMES_(U)>
544 tuple(
const GTEST_9_TUPLE_(
U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_),
545 f3_(t.f3_), f4_(t.f4_), f5_(t.f5_), f6_(t.f6_), f7_(t.f7_), f8_(t.f8_) {}
547 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
549 template <GTEST_9_TYPENAMES_(U)>
556 template <GTEST_9_TYPENAMES_(U)>
581 template <GTEST_10_TYPENAMES_(T)>
586 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_(),
593 f3_(f3), f4_(f4), f5_(f5), f6_(f6), f7_(f7), f8_(f8), f9_(f9) {}
595 tuple(
const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_),
596 f4_(t.f4_), f5_(t.f5_), f6_(t.f6_), f7_(t.f7_), f8_(t.f8_), f9_(t.f9_) {}
598 template <GTEST_10_TYPENAMES_(U)>
600 f3_(t.f3_), f4_(t.f4_), f5_(t.f5_), f6_(t.f6_), f7_(t.f7_), f8_(t.f8_),
605 template <GTEST_10_TYPENAMES_(U)>
612 template <GTEST_10_TYPENAMES_(U)>
647 template <GTEST_1_TYPENAMES_(T)>
652 template <GTEST_2_TYPENAMES_(T)>
657 template <GTEST_3_TYPENAMES_(T)>
662 template <GTEST_4_TYPENAMES_(T)>
668 template <GTEST_5_TYPENAMES_(T)>
670 const T3& f3,
const T4& f4) {
674 template <GTEST_6_TYPENAMES_(T)>
676 const T3& f3,
const T4& f4,
const T5& f5) {
680 template <GTEST_7_TYPENAMES_(T)>
682 const T3& f3,
const T4& f4,
const T5& f5,
const T6& f6) {
686 template <GTEST_8_TYPENAMES_(T)>
688 const T3& f3,
const T4& f4,
const T5& f5,
const T6& f6,
const T7&
f7) {
692 template <GTEST_9_TYPENAMES_(T)>
694 const T3& f3,
const T4& f4,
const T5& f5,
const T6&
f6,
const T7&
f7,
699 template <GTEST_10_TYPENAMES_(T)>
701 const T3& f3,
const T4& f4,
const T5&
f5,
const T6&
f6,
const T7&
f7,
710 template <GTEST_0_TYPENAMES_(T)>
713 template <GTEST_1_TYPENAMES_(T)>
716 template <GTEST_2_TYPENAMES_(T)>
719 template <GTEST_3_TYPENAMES_(T)>
722 template <GTEST_4_TYPENAMES_(T)>
725 template <GTEST_5_TYPENAMES_(T)>
728 template <GTEST_6_TYPENAMES_(T)>
731 template <GTEST_7_TYPENAMES_(T)>
734 template <GTEST_8_TYPENAMES_(T)>
737 template <GTEST_9_TYPENAMES_(T)>
740 template <GTEST_10_TYPENAMES_(T)>
743 template <
int k,
class Tuple>
746 k < (tuple_size<Tuple>::value), k, Tuple>::
type type;
749 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type 753 namespace gtest_internal {
758 template <
class Tuple>
760 Field(Tuple& t) {
return t.f0_; }
762 template <
class Tuple>
764 ConstField(const Tuple& t) {
return t.f0_; }
770 template <
class Tuple>
772 Field(Tuple& t) {
return t.f1_; }
774 template <
class Tuple>
776 ConstField(const Tuple& t) {
return t.f1_; }
782 template <
class Tuple>
784 Field(Tuple& t) {
return t.f2_; }
786 template <
class Tuple>
788 ConstField(const Tuple& t) {
return t.f2_; }
794 template <
class Tuple>
796 Field(Tuple& t) {
return t.f3_; }
798 template <
class Tuple>
800 ConstField(const Tuple& t) {
return t.f3_; }
806 template <
class Tuple>
808 Field(Tuple& t) {
return t.f4_; }
810 template <
class Tuple>
812 ConstField(const Tuple& t) {
return t.f4_; }
818 template <
class Tuple>
820 Field(Tuple& t) {
return t.f5_; }
822 template <
class Tuple>
824 ConstField(const Tuple& t) {
return t.f5_; }
830 template <
class Tuple>
832 Field(Tuple& t) {
return t.f6_; }
834 template <
class Tuple>
836 ConstField(const Tuple& t) {
return t.f6_; }
842 template <
class Tuple>
844 Field(Tuple& t) {
return t.f7_; }
846 template <
class Tuple>
848 ConstField(const Tuple& t) {
return t.f7_; }
854 template <
class Tuple>
856 Field(Tuple& t) {
return t.f8_; }
858 template <
class Tuple>
860 ConstField(const Tuple& t) {
return t.f8_; }
866 template <
class Tuple>
868 Field(Tuple& t) {
return t.f9_; }
870 template <
class Tuple>
872 ConstField(const Tuple& t) {
return t.f9_; }
877 template <
int k, GTEST_10_TYPENAMES_(T)>
883 template <
int k, GTEST_10_TYPENAMES_(T)>
893 namespace gtest_internal {
899 template <
int kSize1,
int kSize2>
904 template <
class Tuple1,
class Tuple2>
905 static bool Eq(
const Tuple1& ,
const Tuple2& ) {
912 template <
class Tuple1,
class Tuple2>
913 static bool Eq(
const Tuple1& t1,
const Tuple2& t2) {
915 ::std::tr1::get<k - 1>(t1) == ::std::tr1::get<k - 1>(t2);
921 template <GTEST_10_TYPENAMES_(T), GTEST_10_TYPENAMES_(U)>
929 template <GTEST_10_TYPENAMES_(T), GTEST_10_TYPENAMES_(U)>
939 #undef GTEST_0_TUPLE_ 940 #undef GTEST_1_TUPLE_ 941 #undef GTEST_2_TUPLE_ 942 #undef GTEST_3_TUPLE_ 943 #undef GTEST_4_TUPLE_ 944 #undef GTEST_5_TUPLE_ 945 #undef GTEST_6_TUPLE_ 946 #undef GTEST_7_TUPLE_ 947 #undef GTEST_8_TUPLE_ 948 #undef GTEST_9_TUPLE_ 949 #undef GTEST_10_TUPLE_ 951 #undef GTEST_0_TYPENAMES_ 952 #undef GTEST_1_TYPENAMES_ 953 #undef GTEST_2_TYPENAMES_ 954 #undef GTEST_3_TYPENAMES_ 955 #undef GTEST_4_TYPENAMES_ 956 #undef GTEST_5_TYPENAMES_ 957 #undef GTEST_6_TYPENAMES_ 958 #undef GTEST_7_TYPENAMES_ 959 #undef GTEST_8_TYPENAMES_ 960 #undef GTEST_9_TYPENAMES_ 961 #undef GTEST_10_TYPENAMES_ 963 #undef GTEST_DECLARE_TUPLE_AS_FRIEND_ 965 #undef GTEST_ADD_REF_ 966 #undef GTEST_TUPLE_ELEMENT_ 968 #endif // GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TUPLE_H_ T5 type
Definition: gtest-tuple.h:158
const T1 const T2 const T3 const T4 const T5 const T6 const T7 & f7
Definition: gtest-tuple.h:688
T3 type
Definition: gtest-tuple.h:152
const T1 const T2 const T3 & f3
Definition: gtest-tuple.h:664
tuple & operator=(const tuple &)
Definition: gtest-tuple.h:179
tuple()
Definition: gtest-tuple.h:586
T8 f8_
Definition: gtest-tuple.h:635
T0 type
Definition: gtest-tuple.h:143
const T1 const T2 const T3 const T4 const T5 const T6 const T7 const T8 const T9 & f9
Definition: gtest-tuple.h:702
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(1, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:771
T & type
Definition: gtest-tuple.h:127
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(4, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:807
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(2, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:783
class GTEST_6_TUPLE_(T)
Definition: gtest-tuple.h:380
T1 type
Definition: gtest-tuple.h:146
class GTEST_9_TUPLE_(T)
Definition: gtest-tuple.h:528
tuple(const tuple &t)
Definition: gtest-tuple.h:595
Definition: gtest-tuple.h:109
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(6, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:835
GTEST_DECLARE_TUPLE_AS_FRIEND_ tuple & CopyFrom(const GTEST_10_TUPLE_(U)&t)
Definition: gtest-tuple.h:613
class GTEST_4_TUPLE_(T)
Definition: gtest-tuple.h:295
T0 f0_
Definition: gtest-tuple.h:627
Definition: gtest-tuple.h:900
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(7, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:843
internal::EqMatcher< T > Eq(T x)
Definition: gmock-matchers.h:2584
Definition: gtest-tuple.h:175
T2 f2_
Definition: gtest-tuple.h:629
Definition: gtest-tuple.h:127
tuple make_tuple()
Definition: gtest-tuple.h:645
class GTEST_2_TUPLE_(T)
Definition: gtest-tuple.h:215
tuple(const tuple &)
Definition: gtest-tuple.h:178
Definition: gtest-tuple.h:744
const T1 const T2 const T3 const T4 & f4
Definition: gtest-tuple.h:670
typedef void(ENET_CALLBACK *ENetPacketFreeCallback)(struct _ENetPacket *)
T6 type
Definition: gtest-tuple.h:161
static bool Eq(const Tuple1 &, const Tuple2 &)
Definition: gtest-tuple.h:905
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(8, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:855
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(9, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:871
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(5, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:819
GTEST_10_TUPLE_(T) make_tuple(const T0 &f0
const T1 const T2 const T3 const T4 const T5 const T6 & f6
Definition: gtest-tuple.h:682
Definition: gtest-tuple.h:117
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(4, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:811
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(1, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:775
T1 f1_
Definition: gtest-tuple.h:628
GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(k, GTEST_10_TUPLE_(T))) get(const GTEST_10_TUPLE_(T)&t)
Definition: gtest-tuple.h:884
tuple & operator=(const tuple &t)
Definition: gtest-tuple.h:603
bool operator==(const GTEST_10_TUPLE_(T)&t, const GTEST_10_TUPLE_(U)&u)
Definition: gtest-tuple.h:922
Definition: gtest-tuple.h:140
tuple(GTEST_BY_REF_(T0) f0, GTEST_BY_REF_(T1) f1, GTEST_BY_REF_(T2) f2, GTEST_BY_REF_(T3) f3, GTEST_BY_REF_(T4) f4, GTEST_BY_REF_(T5) f5, GTEST_BY_REF_(T6) f6, GTEST_BY_REF_(T7) f7, GTEST_BY_REF_(T8) f8, GTEST_BY_REF_(T9) f9)
Definition: gtest-tuple.h:589
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:759
const T1 const T2 const T3 const T4 const T5 const T6 const T7 const T8 & f8
Definition: gtest-tuple.h:695
Definition: InputPrereqs.h:78
T & type
Definition: gtest-tuple.h:119
class GTEST_5_TUPLE_(T)
Definition: gtest-tuple.h:336
static bool Eq(const Tuple1 &t1, const Tuple2 &t2)
Definition: gtest-tuple.h:913
T9 f9_
Definition: gtest-tuple.h:636
class GTEST_8_TUPLE_(T)
Definition: gtest-tuple.h:476
GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(k, GTEST_10_TUPLE_(T))) get(GTEST_10_TUPLE_(T)&t)
Definition: gtest-tuple.h:878
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(3, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:795
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:763
T4 f4_
Definition: gtest-tuple.h:631
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(2, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:787
#define GTEST_TUPLE_ELEMENT_(k, Tuple)
Definition: gtest-tuple.h:749
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(8, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:859
class GTEST_7_TUPLE_(T)
Definition: gtest-tuple.h:427
Definition: gtest-tuple.h:708
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(7, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:847
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(3, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:799
class GTEST_1_TUPLE_(T)
Definition: gtest-tuple.h:183
class GTEST_3_TUPLE_(T)
Definition: gtest-tuple.h:258
const T1 const T2 const T3 const T4 const T5 & f5
Definition: gtest-tuple.h:676
bool operator!=(const GTEST_10_TUPLE_(T)&t, const GTEST_10_TUPLE_(U)&u)
Definition: gtest-tuple.h:930
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(9, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:867
const T & type
Definition: gtest-tuple.h:117
T5 f5_
Definition: gtest-tuple.h:632
tuple & operator=(const GTEST_10_TUPLE_(U)&t)
Definition: gtest-tuple.h:606
#define GTEST_0_TUPLE_(T)
Definition: gtest-tuple.h:55
T2 type
Definition: gtest-tuple.h:149
T4 type
Definition: gtest-tuple.h:155
const T1 & f1
Definition: gtest-tuple.h:653
#define GTEST_DECLARE_TUPLE_AS_FRIEND_
Definition: gtest-tuple.h:49
T3 f3_
Definition: gtest-tuple.h:630
const T1 const T2 & f2
Definition: gtest-tuple.h:658
PolymorphicMatcher< internal::FieldMatcher< Class, FieldType > > Field(FieldType Class::*field, const FieldMatcher &matcher)
Definition: gmock-matchers.h:2693
Definition: InputPrereqs.h:80
tuple()
Definition: gtest-tuple.h:177
T9 type
Definition: gtest-tuple.h:170
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(5, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:823
tuple(const GTEST_10_TUPLE_(U)&t)
Definition: gtest-tuple.h:599
T7 type
Definition: gtest-tuple.h:164
Definition: gtest-tuple.h:135
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(6, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:831
T6 f6_
Definition: gtest-tuple.h:633
T8 type
Definition: gtest-tuple.h:167
T & type
Definition: gtest-tuple.h:129
T7 f7_
Definition: gtest-tuple.h:634