Lines Matching refs:tuple
126 class tuple;
159 /// Primary class template, tuple
161 class tuple : public _Tuple_impl<0, _Elements...>
168 constexpr tuple(_UElements&&... __elements)
173 /// Gives the type of the ith element of a given tuple type.
179 * the tuple and retrieve the (i-1)th element of the remaining tuple.
182 struct tuple_element<__i, tuple<_Head, _Tail...> >
183 : tuple_element<__i - 1, tuple<_Tail...> > { };
189 struct tuple_element<0, tuple<_Head, _Tail...> >
207 // of a tuple. Any const or non-const ref elements are returned with their
211 typename tuple_element<__i, tuple<_Elements...>>::type
213 get(const tuple<_Elements...>& __t) noexcept
218 tuple<_Elements&&...>
220 { return tuple<_Elements&&...>(std::forward<_Elements>(__args)...); }
234 tuple<_Elements&&...>
236 { return tuple<_Elements&&...>(std::forward<_Elements>(__args)...); }