38 #ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TUPLE_H_
39 #define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TUPLE_H_
48 #if defined(__SYMBIAN32__) || (defined(__SUNPRO_CC) && __SUNPRO_CC < 0x590)
49 # define GTEST_DECLARE_TUPLE_AS_FRIEND_ public:
51 # define GTEST_DECLARE_TUPLE_AS_FRIEND_ \
52 template <GTEST_10_TYPENAMES_(U)> friend class tuple; \
57 #define GTEST_0_TUPLE_(T) tuple<>
58 #define GTEST_1_TUPLE_(T) tuple<T##0, void, void, void, void, void, void, \
60 #define GTEST_2_TUPLE_(T) tuple<T##0, T##1, void, void, void, void, void, \
62 #define GTEST_3_TUPLE_(T) tuple<T##0, T##1, T##2, void, void, void, void, \
64 #define GTEST_4_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, void, void, void, \
66 #define GTEST_5_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, void, void, \
68 #define GTEST_6_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, void, \
70 #define GTEST_7_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, T##6, \
72 #define GTEST_8_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, T##6, \
74 #define GTEST_9_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, T##6, \
76 #define GTEST_10_TUPLE_(T) tuple<T##0, T##1, T##2, T##3, T##4, T##5, T##6, \
80 #define GTEST_0_TYPENAMES_(T)
81 #define GTEST_1_TYPENAMES_(T) typename T##0
82 #define GTEST_2_TYPENAMES_(T) typename T##0, typename T##1
83 #define GTEST_3_TYPENAMES_(T) typename T##0, typename T##1, typename T##2
84 #define GTEST_4_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \
86 #define GTEST_5_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \
87 typename T##3, typename T##4
88 #define GTEST_6_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \
89 typename T##3, typename T##4, typename T##5
90 #define GTEST_7_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \
91 typename T##3, typename T##4, typename T##5, typename T##6
92 #define GTEST_8_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \
93 typename T##3, typename T##4, typename T##5, typename T##6, typename T##7
94 #define GTEST_9_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \
95 typename T##3, typename T##4, typename T##5, typename T##6, \
96 typename T##7, typename T##8
97 #define GTEST_10_TYPENAMES_(T) typename T##0, typename T##1, typename T##2, \
98 typename T##3, typename T##4, typename T##5, typename T##6, \
99 typename T##7, typename T##8, typename T##9
107 template <
typename T0 = void,
typename T1 = void,
typename T2 = void,
108 typename T3 = void,
typename T4 = void,
typename T5 = void,
109 typename T6 = void,
typename T7 = void,
typename T8 = void,
115 namespace gtest_internal {
118 template <
typename T>
120 template <
typename T>
124 #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
128 template <
typename T>
130 template <
typename T>
134 #define GTEST_ADD_REF_(T) typename ::std::tr1::gtest_internal::AddRef<T>::type
137 template <
int k>
class Get;
141 template <
bool kIndexVal
id,
int kIndex,
class Tuple>
144 template <GTEST_10_TYPENAMES_(T)>
149 template <GTEST_10_TYPENAMES_(T)>
154 template <GTEST_10_TYPENAMES_(T)>
159 template <GTEST_10_TYPENAMES_(T)>
164 template <GTEST_10_TYPENAMES_(T)>
169 template <GTEST_10_TYPENAMES_(T)>
174 template <GTEST_10_TYPENAMES_(T)>
179 template <GTEST_10_TYPENAMES_(T)>
184 template <GTEST_10_TYPENAMES_(T)>
189 template <GTEST_10_TYPENAMES_(T)>
204 template <GTEST_1_TYPENAMES_(T)>
205 class GTEST_1_TUPLE_(T) {
213 tuple(
const tuple& t) : f0_(t.
f0_) {}
215 template <GTEST_1_TYPENAMES_(U)>
218 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
220 template <GTEST_1_TYPENAMES_(U)>
227 template <GTEST_1_TYPENAMES_(U)>
236 template <GTEST_2_TYPENAMES_(T)>
237 class GTEST_2_TUPLE_(T) {
241 tuple() : f0_(), f1_() {}
246 tuple(
const tuple& t) : f0_(t.
f0_), f1_(t.
f1_) {}
248 template <GTEST_2_TYPENAMES_(U)>
250 template <
typename U0,
typename U1>
251 tuple(const ::std::pair<U0, U1>& p) : f0_(p.first), f1_(p.second) {}
253 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
255 template <GTEST_2_TYPENAMES_(U)>
259 template <
typename U0,
typename U1>
260 tuple& operator=(const ::std::pair<U0, U1>& p) {
268 template <GTEST_2_TYPENAMES_(U)>
279 template <GTEST_3_TYPENAMES_(T)>
280 class GTEST_3_TUPLE_(T) {
284 tuple() : f0_(), f1_(), f2_() {}
289 tuple(
const tuple& t) : f0_(t.
f0_), f1_(t.
f1_), f2_(t.
f2_) {}
291 template <GTEST_3_TYPENAMES_(U)>
292 tuple(
const GTEST_3_TUPLE_(U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_) {}
294 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
296 template <GTEST_3_TYPENAMES_(U)>
303 template <GTEST_3_TYPENAMES_(U)>
316 template <GTEST_4_TYPENAMES_(T)>
317 class GTEST_4_TUPLE_(T) {
321 tuple() : f0_(), f1_(), f2_(), f3_() {}
327 tuple(
const tuple& t) : f0_(t.
f0_), f1_(t.
f1_), f2_(t.
f2_), f3_(t.
f3_) {}
329 template <GTEST_4_TYPENAMES_(U)>
330 tuple(
const GTEST_4_TUPLE_(U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_),
333 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
335 template <GTEST_4_TYPENAMES_(U)>
342 template <GTEST_4_TYPENAMES_(U)>
357 template <GTEST_5_TYPENAMES_(T)>
358 class GTEST_5_TUPLE_(T) {
362 tuple() : f0_(), f1_(), f2_(), f3_(), f4_() {}
368 tuple(
const tuple& t) : f0_(t.
f0_), f1_(t.
f1_), f2_(t.
f2_), f3_(t.
f3_),
371 template <GTEST_5_TYPENAMES_(U)>
372 tuple(
const GTEST_5_TUPLE_(U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_),
373 f3_(t.f3_), f4_(t.f4_) {}
375 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
377 template <GTEST_5_TYPENAMES_(U)>
384 template <GTEST_5_TYPENAMES_(U)>
401 template <GTEST_6_TYPENAMES_(T)>
402 class GTEST_6_TUPLE_(T) {
406 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_() {}
413 tuple(
const tuple& t) : f0_(t.
f0_), f1_(t.
f1_), f2_(t.
f2_), f3_(t.
f3_),
416 template <GTEST_6_TYPENAMES_(U)>
417 tuple(
const GTEST_6_TUPLE_(U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_),
418 f3_(t.f3_), f4_(t.f4_), f5_(t.f5_) {}
420 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
422 template <GTEST_6_TYPENAMES_(U)>
429 template <GTEST_6_TYPENAMES_(U)>
448 template <GTEST_7_TYPENAMES_(T)>
449 class GTEST_7_TUPLE_(T) {
453 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_() {}
458 f3_(f3), f4_(f4), f5_(f5), f6_(f6) {}
460 tuple(
const tuple& t) : f0_(t.
f0_), f1_(t.
f1_), f2_(t.
f2_), f3_(t.
f3_),
463 template <GTEST_7_TYPENAMES_(U)>
464 tuple(
const GTEST_7_TUPLE_(U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_),
465 f3_(t.f3_), f4_(t.f4_), f5_(t.f5_), f6_(t.f6_) {}
467 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
469 template <GTEST_7_TYPENAMES_(U)>
476 template <GTEST_7_TYPENAMES_(U)>
497 template <GTEST_8_TYPENAMES_(T)>
498 class GTEST_8_TUPLE_(T) {
502 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_() {}
508 f5_(f5), f6_(f6), f7_(f7) {}
510 tuple(
const tuple& t) : f0_(t.
f0_), f1_(t.
f1_), f2_(t.
f2_), f3_(t.
f3_),
513 template <GTEST_8_TYPENAMES_(U)>
514 tuple(
const GTEST_8_TUPLE_(U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_),
515 f3_(t.f3_), f4_(t.f4_), f5_(t.f5_), f6_(t.f6_), f7_(t.f7_) {}
517 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
519 template <GTEST_8_TYPENAMES_(U)>
526 template <GTEST_8_TYPENAMES_(U)>
549 template <GTEST_9_TYPENAMES_(T)>
550 class GTEST_9_TUPLE_(T) {
554 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_() {}
560 f5_(f5), f6_(f6), f7_(f7), f8_(f8) {}
562 tuple(
const tuple& t) : f0_(t.
f0_), f1_(t.
f1_), f2_(t.
f2_), f3_(t.
f3_),
565 template <GTEST_9_TYPENAMES_(U)>
566 tuple(
const GTEST_9_TUPLE_(U)& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_),
567 f3_(t.f3_), f4_(t.f4_), f5_(t.f5_), f6_(t.f6_), f7_(t.f7_), f8_(t.f8_) {}
569 tuple& operator=(
const tuple& t) {
return CopyFrom(t); }
571 template <GTEST_9_TYPENAMES_(U)>
578 template <GTEST_9_TYPENAMES_(U)>
603 template <GTEST_10_TYPENAMES_(T)>
608 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_(),
615 f3_(f3), f4_(f4), f5_(f5), f6_(f6), f7_(f7), f8_(f8), f9_(f9) {}
617 tuple(
const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_),
618 f4_(t.f4_), f5_(t.f5_), f6_(t.f6_), f7_(t.f7_), f8_(t.f8_), f9_(t.f9_) {}
620 template <GTEST_10_TYPENAMES_(U)>
622 f3_(t.f3_), f4_(t.f4_), f5_(t.f5_), f6_(t.f6_), f7_(t.f7_), f8_(t.f8_),
627 template <GTEST_10_TYPENAMES_(U)>
634 template <GTEST_10_TYPENAMES_(U)>
669 template <GTEST_1_TYPENAMES_(T)>
674 template <GTEST_2_TYPENAMES_(T)>
679 template <GTEST_3_TYPENAMES_(T)>
684 template <GTEST_4_TYPENAMES_(T)>
690 template <GTEST_5_TYPENAMES_(T)>
692 const T3& f3, const T4& f4) {
696 template <GTEST_6_TYPENAMES_(T)>
698 const T3& f3, const T4& f4, const T5& f5) {
702 template <GTEST_7_TYPENAMES_(T)>
704 const T3& f3, const T4& f4, const T5& f5, const T6& f6) {
708 template <GTEST_8_TYPENAMES_(T)>
710 const T3& f3, const T4& f4, const T5& f5, const T6& f6, const T7& f7) {
714 template <GTEST_9_TYPENAMES_(T)>
716 const T3& f3, const T4& f4, const T5& f5, const T6& f6, const T7& f7,
721 template <GTEST_10_TYPENAMES_(T)>
723 const T3& f3, const T4& f4, const T5& f5, const T6& f6, const T7& f7,
724 const T8& f8, const T9&
f9) {
732 template <GTEST_0_TYPENAMES_(T)>
734 static const int value = 0;
737 template <GTEST_1_TYPENAMES_(T)>
739 static const int value = 1;
742 template <GTEST_2_TYPENAMES_(T)>
744 static const int value = 2;
747 template <GTEST_3_TYPENAMES_(T)>
749 static const int value = 3;
752 template <GTEST_4_TYPENAMES_(T)>
754 static const int value = 4;
757 template <GTEST_5_TYPENAMES_(T)>
759 static const int value = 5;
762 template <GTEST_6_TYPENAMES_(T)>
764 static const int value = 6;
767 template <GTEST_7_TYPENAMES_(T)>
769 static const int value = 7;
772 template <GTEST_8_TYPENAMES_(T)>
774 static const int value = 8;
777 template <GTEST_9_TYPENAMES_(T)>
779 static const int value = 9;
782 template <GTEST_10_TYPENAMES_(T)>
784 static const int value = 10;
787 template <
int k,
class Tuple>
790 k < (tuple_size<Tuple>::value),
k, Tuple>::type type;
793 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type
797 namespace gtest_internal {
802 template <
class Tuple>
804 Field(Tuple& t) {
return t.f0_; }
806 template <
class Tuple>
808 ConstField(const Tuple& t) {
return t.f0_; }
814 template <
class Tuple>
816 Field(Tuple& t) {
return t.f1_; }
818 template <
class Tuple>
820 ConstField(const Tuple& t) {
return t.f1_; }
826 template <
class Tuple>
828 Field(Tuple& t) {
return t.f2_; }
830 template <
class Tuple>
832 ConstField(const Tuple& t) {
return t.f2_; }
838 template <
class Tuple>
840 Field(Tuple& t) {
return t.f3_; }
842 template <
class Tuple>
844 ConstField(const Tuple& t) {
return t.f3_; }
850 template <
class Tuple>
852 Field(Tuple& t) {
return t.f4_; }
854 template <
class Tuple>
856 ConstField(const Tuple& t) {
return t.f4_; }
862 template <
class Tuple>
864 Field(Tuple& t) {
return t.f5_; }
866 template <
class Tuple>
868 ConstField(const Tuple& t) {
return t.f5_; }
874 template <
class Tuple>
876 Field(Tuple& t) {
return t.f6_; }
878 template <
class Tuple>
880 ConstField(const Tuple& t) {
return t.f6_; }
886 template <
class Tuple>
888 Field(Tuple& t) {
return t.f7_; }
890 template <
class Tuple>
892 ConstField(const Tuple& t) {
return t.f7_; }
898 template <
class Tuple>
900 Field(Tuple& t) {
return t.f8_; }
902 template <
class Tuple>
904 ConstField(const Tuple& t) {
return t.f8_; }
910 template <
class Tuple>
912 Field(Tuple& t) {
return t.f9_; }
914 template <
class Tuple>
916 ConstField(const Tuple& t) {
return t.f9_; }
921 template <
int k, GTEST_10_TYPENAMES_(T)>
927 template <
int k, GTEST_10_TYPENAMES_(T)>
937 namespace gtest_internal {
943 template <
int kSize1,
int kSize2>
948 template <
class Tuple1,
class Tuple2>
949 static bool Eq(
const Tuple1& ,
const Tuple2& ) {
956 template <
class Tuple1,
class Tuple2>
957 static bool Eq(
const Tuple1& t1,
const Tuple2& t2) {
959 ::std::tr1::get<
k - 1>(t1) == ::std::tr1::get<k - 1>(t2);
965 template <GTEST_10_TYPENAMES_(T), GTEST_10_TYPENAMES_(U)>
973 template <GTEST_10_TYPENAMES_(T), GTEST_10_TYPENAMES_(U)>
983 #undef GTEST_0_TUPLE_
984 #undef GTEST_1_TUPLE_
985 #undef GTEST_2_TUPLE_
986 #undef GTEST_3_TUPLE_
987 #undef GTEST_4_TUPLE_
988 #undef GTEST_5_TUPLE_
989 #undef GTEST_6_TUPLE_
990 #undef GTEST_7_TUPLE_
991 #undef GTEST_8_TUPLE_
992 #undef GTEST_9_TUPLE_
993 #undef GTEST_10_TUPLE_
995 #undef GTEST_0_TYPENAMES_
996 #undef GTEST_1_TYPENAMES_
997 #undef GTEST_2_TYPENAMES_
998 #undef GTEST_3_TYPENAMES_
999 #undef GTEST_4_TYPENAMES_
1000 #undef GTEST_5_TYPENAMES_
1001 #undef GTEST_6_TYPENAMES_
1002 #undef GTEST_7_TYPENAMES_
1003 #undef GTEST_8_TYPENAMES_
1004 #undef GTEST_9_TYPENAMES_
1005 #undef GTEST_10_TYPENAMES_
1007 #undef GTEST_DECLARE_TUPLE_AS_FRIEND_
1008 #undef GTEST_BY_REF_
1009 #undef GTEST_ADD_REF_
1010 #undef GTEST_TUPLE_ELEMENT_
1012 #endif // GTEST_INCLUDE_GTEST_INTERNAL_GTEST_TUPLE_H_
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(2, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:831
tuple & operator=(const tuple &t)
Definition: gtest-tuple.h:625
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(8, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:899
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(9, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:911
T3 f3_
Definition: gtest-tuple.h:652
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(3, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:843
const T1 const T2 const T3 const T4 const T5 const T6 const T7 & f7
Definition: gtest-tuple.h:710
T8 f8_
Definition: gtest-tuple.h:657
T0 type
Definition: gtest-tuple.h:146
T7 type
Definition: gtest-tuple.h:181
const T1 const T2 const T3 & f3
Definition: gtest-tuple.h:686
tuple & operator=(const tuple &)
Definition: gtest-tuple.h:201
const T & type
Definition: gtest-tuple.h:119
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(1, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:819
T2 type
Definition: gtest-tuple.h:156
T1 f1_
Definition: gtest-tuple.h:650
const T1 const T2 const T3 const T4 const T5 const T6 const T7 const T8 const T9 & f9
Definition: gtest-tuple.h:724
T2 f2_
Definition: gtest-tuple.h:651
class GTEST_6_TUPLE_(T)
Definition: gtest-tuple.h:402
T & type
Definition: gtest-tuple.h:121
class GTEST_9_TUPLE_(T)
Definition: gtest-tuple.h:550
T6 type
Definition: gtest-tuple.h:176
Definition: mpreal.h:3066
T8 type
Definition: gtest-tuple.h:186
T7 f7_
Definition: gtest-tuple.h:656
class GTEST_4_TUPLE_(T)
Definition: gtest-tuple.h:317
Definition: gtest-tuple.h:119
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(4, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:855
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(9, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:915
Definition: gtest-tuple.h:197
static bool Eq(const Tuple1 &, const Tuple2 &)
Definition: gtest-tuple.h:949
Definition: gtest-tuple.h:137
tuple make_tuple()
Definition: gtest-tuple.h:667
class GTEST_2_TUPLE_(T)
Definition: gtest-tuple.h:237
tuple()
Definition: gtest-tuple.h:608
tuple(const tuple &)
Definition: gtest-tuple.h:200
Definition: gtest-tuple.h:788
const T1 const T2 const T3 const T4 & f4
Definition: gtest-tuple.h:692
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(7, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:891
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(3, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:839
tuple(const tuple &t)
Definition: gtest-tuple.h:617
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(8, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:903
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:704
Definition: gtest-tuple.h:944
const T1 &f1 return GTEST_2_TUPLE_() T(f0, f1)
T4 f4_
Definition: gtest-tuple.h:653
T0 f0_
Definition: gtest-tuple.h:649
const int k
Definition: dielectric.cc:184
GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(k, GTEST_10_TUPLE_(T))) get(const GTEST_10_TUPLE_(T)&t)
Definition: gtest-tuple.h:928
T9 type
Definition: gtest-tuple.h:191
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:611
T5 type
Definition: gtest-tuple.h:171
bool operator==(const GTEST_10_TUPLE_(T)&t, const GTEST_10_TUPLE_(U)&u)
Definition: gtest-tuple.h:966
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:807
tuple(const GTEST_10_TUPLE_(U)&t)
Definition: gtest-tuple.h:621
T5 f5_
Definition: gtest-tuple.h:654
T3 type
Definition: gtest-tuple.h:161
const T1 const T2 const T3 const T4 const T5 const T6 const T7 const T8 & f8
Definition: gtest-tuple.h:717
T & type
Definition: gtest-tuple.h:131
class GTEST_5_TUPLE_(T)
Definition: gtest-tuple.h:358
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(6, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:875
tuple & operator=(const GTEST_10_TUPLE_(U)&t)
Definition: gtest-tuple.h:628
Definition: gtest-tuple.h:111
class GTEST_8_TUPLE_(T)
Definition: gtest-tuple.h:498
GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(k, GTEST_10_TUPLE_(T))) get(GTEST_10_TUPLE_(T)&t)
Definition: gtest-tuple.h:922
#define GTEST_TUPLE_ELEMENT_(k, Tuple)
Definition: gtest-tuple.h:793
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(5, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:863
GTEST_DECLARE_TUPLE_AS_FRIEND_ tuple & CopyFrom(const GTEST_10_TUPLE_(U)&t)
Definition: gtest-tuple.h:635
T6 f6_
Definition: gtest-tuple.h:655
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(0, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:803
T & type
Definition: gtest-tuple.h:129
class GTEST_7_TUPLE_(T)
Definition: gtest-tuple.h:449
Definition: gtest-tuple.h:730
class GTEST_1_TUPLE_(T)
Definition: gtest-tuple.h:205
class GTEST_3_TUPLE_(T)
Definition: gtest-tuple.h:280
const T1 const T2 const T3 const T4 const T5 & f5
Definition: gtest-tuple.h:698
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(1, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:815
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(6, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:879
bool operator!=(const GTEST_10_TUPLE_(T)&t, const GTEST_10_TUPLE_(U)&u)
Definition: gtest-tuple.h:974
T1 type
Definition: gtest-tuple.h:151
#define GTEST_0_TUPLE_(T)
Definition: gtest-tuple.h:57
const T1 & f1
Definition: gtest-tuple.h:680
#define GTEST_DECLARE_TUPLE_AS_FRIEND_
Definition: gtest-tuple.h:51
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(4, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:851
const T1 const T2 & f2
Definition: gtest-tuple.h:680
static GTEST_BY_REF_(GTEST_TUPLE_ELEMENT_(5, Tuple)) ConstField(const Tuple &t)
Definition: gtest-tuple.h:867
static bool Eq(const Tuple1 &t1, const Tuple2 &t2)
Definition: gtest-tuple.h:957
tuple()
Definition: gtest-tuple.h:199
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(2, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:827
T9 f9_
Definition: gtest-tuple.h:658
Definition: gtest-tuple.h:129
T4 type
Definition: gtest-tuple.h:166
Definition: gtest-tuple.h:142
static GTEST_ADD_REF_(GTEST_TUPLE_ELEMENT_(7, Tuple)) Field(Tuple &t)
Definition: gtest-tuple.h:887