Lines Matching refs:tuple

40 using ::std::tr1::tuple;
47 StaticAssertTypeEq<int, tuple_element<0, tuple<int, char> >::type>(); in TEST()
48 StaticAssertTypeEq<int&, tuple_element<1, tuple<double, int&> >::type>(); in TEST()
49 StaticAssertTypeEq<bool, tuple_element<2, tuple<double, int, bool> >::type>(); in TEST()
55 EXPECT_EQ(0, +tuple_size<tuple<> >::value); in TEST()
56 EXPECT_EQ(1, +tuple_size<tuple<void*> >::value); in TEST()
57 EXPECT_EQ(1, +tuple_size<tuple<char> >::value); in TEST()
58 EXPECT_EQ(1, +(tuple_size<tuple<tuple<int, double> > >::value)); in TEST()
59 EXPECT_EQ(2, +(tuple_size<tuple<int&, const char> >::value)); in TEST()
60 EXPECT_EQ(3, +(tuple_size<tuple<char*, void, const bool&> >::value)); in TEST()
65 const tuple<int, char, bool> a(5, 'a', false); in TEST()
73 const tuple<int, bool> a(5, true), b(5, true); in TEST()
81 typedef tuple<const int, char> FooTuple; in TEST()
97 typedef tuple<int&, const char&> FooTuple; in TEST()
121 tuple<bool, int&> t(true, n); in TEST()
147 tuple<> empty; in TEST()
149 tuple<int> a1, b1; in TEST()
153 tuple<int, double> a2, b2; in TEST()
158 tuple<double, char, bool*> a3, b3; in TEST()
164 tuple<int, int, int, int, int, int, int, int, int, int> a10, b10; in TEST()
182 tuple<int&> a(n); in TEST()
186 tuple<int, char> b(5, 'a'); in TEST()
192 tuple<bool, const int&> c(true, m); in TEST()
199 tuple<double, bool> a(0.0, true); in TEST()
200 tuple<double, bool> b(a); in TEST()
209 tuple<int, int, char> a(0, 1, 'a'); in TEST()
210 tuple<double, long, int> b(a); in TEST()
220 tuple<int, char> b(a); in TEST()
221 tuple<int, const char&> c(a); in TEST()
226 const tuple<int, long> a(5, 7L); in TEST()
227 tuple<int, long> b; in TEST()
236 const tuple<int, long, bool> a(1, 7L, true); in TEST()
237 tuple<long, int, bool> b; in TEST()
247 tuple<int, bool> b; in TEST()
252 tuple<long, bool> c; in TEST()
261 typedef tuple<int, int, int, int, int, int, int, int, int, int> BigTuple;
297 tuple<bool, int> a; in TEST()
302 tuple<char, int, long> b; in TEST()
314 tuple<const char*, int*> t; in TEST()