Lines Matching refs:tuple

10 // <tuple>
12 // template <class... Types> class tuple;
14 // template <class... Tuples> tuple<CTypes...> tuple_cat(Tuples&&... tpls);
18 #include <tuple>
30 std::tuple<> t = std::tuple_cat();
34 std::tuple<> t1;
35 std::tuple<> t2 = std::tuple_cat(t1);
39 std::tuple<> t = std::tuple_cat(std::tuple<>());
43 std::tuple<> t = std::tuple_cat(std::array<int, 0>());
47 std::tuple<int> t1(1);
48 std::tuple<int> t = std::tuple_cat(t1);
54 constexpr std::tuple<> t = std::tuple_cat();
58 constexpr std::tuple<> t1;
59 constexpr std::tuple<> t2 = std::tuple_cat(t1);
63 constexpr std::tuple<> t = std::tuple_cat(std::tuple<>());
67 constexpr std::tuple<> t = std::tuple_cat(std::array<int, 0>());
71 constexpr std::tuple<int> t1(1);
72 constexpr std::tuple<int> t = std::tuple_cat(t1);
76 constexpr std::tuple<int> t1(1);
77 constexpr std::tuple<int, int> t = std::tuple_cat(t1, t1);
83 std::tuple<int, MoveOnly> t =
84 std::tuple_cat(std::tuple<int, MoveOnly>(1, 2));
89 std::tuple<int, int, int> t = std::tuple_cat(std::array<int, 3>());
95 std::tuple<int, MoveOnly> t = std::tuple_cat(std::pair<int, MoveOnly>(2, 1));
101 std::tuple<> t1;
102 std::tuple<> t2;
103 std::tuple<> t3 = std::tuple_cat(t1, t2);
107 std::tuple<> t1;
108 std::tuple<int> t2(2);
109 std::tuple<int> t3 = std::tuple_cat(t1, t2);
113 std::tuple<> t1;
114 std::tuple<int> t2(2);
115 std::tuple<int> t3 = std::tuple_cat(t2, t1);
119 std::tuple<int*> t1;
120 std::tuple<int> t2(2);
121 std::tuple<int*, int> t3 = std::tuple_cat(t1, t2);
126 std::tuple<int*> t1;
127 std::tuple<int> t2(2);
128 std::tuple<int, int*> t3 = std::tuple_cat(t2, t1);
133 std::tuple<int*> t1;
134 std::tuple<int, double> t2(2, 3.5);
135 std::tuple<int*, int, double> t3 = std::tuple_cat(t1, t2);
141 std::tuple<int*> t1;
142 std::tuple<int, double> t2(2, 3.5);
143 std::tuple<int, double, int*> t3 = std::tuple_cat(t2, t1);
149 std::tuple<int*, MoveOnly> t1(nullptr, 1);
150 std::tuple<int, double> t2(2, 3.5);
151 std::tuple<int*, MoveOnly, int, double> t3 =
159 std::tuple<int*, MoveOnly> t1(nullptr, 1);
160 std::tuple<int, double> t2(2, 3.5);
161 std::tuple<int, double, int*, MoveOnly> t3 =
169 std::tuple<MoveOnly, MoveOnly> t1(1, 2);
170 std::tuple<int*, MoveOnly> t2(nullptr, 4);
171 std::tuple<MoveOnly, MoveOnly, int*, MoveOnly> t3 =
180 std::tuple<MoveOnly, MoveOnly> t1(1, 2);
181 std::tuple<int*, MoveOnly> t2(nullptr, 4);
182 std::tuple<MoveOnly, MoveOnly, int*, MoveOnly> t3 =
183 std::tuple_cat(std::tuple<>(),
192 std::tuple<MoveOnly, MoveOnly> t1(1, 2);
193 std::tuple<int*, MoveOnly> t2(nullptr, 4);
194 std::tuple<MoveOnly, MoveOnly, int*, MoveOnly> t3 =
196 std::tuple<>(),
204 std::tuple<MoveOnly, MoveOnly> t1(1, 2);
205 std::tuple<int*, MoveOnly> t2(nullptr, 4);
206 std::tuple<MoveOnly, MoveOnly, int*, MoveOnly> t3 =
209 std::tuple<>());
216 std::tuple<MoveOnly, MoveOnly> t1(1, 2);
217 std::tuple<int*, MoveOnly> t2(nullptr, 4);
218 std::tuple<MoveOnly, MoveOnly, int*, MoveOnly, int> t3 =
221 std::tuple<int>(5));