Home
last modified time | relevance | path

Searched defs:tuple_element (Results 1 – 15 of 15) sorted by relevance

/llvm-project/clang/test/CXX/dcl.decl/dcl.decomp/
H A Dp3.cpp51 template<> struct std::tuple_element<0, A> { typedef float type; };
57 template<> struct std::tuple_element<1, A> { typedef float &type; };
58 template<> struct std::tuple_element<2, A> { typedef const float &type; };
61 template<int N> struct std::tuple_element<N, B> { typedef int type[N +1 ]; };
64 template<size_t N, typename T> struct std::tuple_element<N, const T> { struct in std
65 typedef const typename std::tuple_element<N, T>::type type;
132 template<> struct std::tuple_element<0, C> { typedef int type; };
152 template<> struct std::tuple_element<0, D> { typedef D::get<0> type; };
162 template<> struct std::tuple_element<0, E> { typedef int type; };
173 template<> struct std::tuple_element<0, ADL::X> { typedef int type; };
[all …]
/llvm-project/clang/test/SemaCXX/
H A Dcxx20-decomposition.cpp100 struct tuple_element<0, tuple> { struct
105 struct tuple_element<1, tuple> { struct
110 struct tuple_element<0, const tuple> { struct
115 struct tuple_element<1, const tuple> { struct
101 typestd::tuple_element global() argument
106 typestd::tuple_element global() argument
111 typestd::tuple_element global() argument
116 typestd::tuple_element global() argument
H A Dwarn-unsequenced.cpp641 template<size_t, typename> struct tuple_element { using type = int; }; argument
/llvm-project/clang/test/CodeGenCXX/
H A Dcxx1z-decomposition.cpp16 template<> struct std::tuple_element<0,B> { using type = X; }; argument
17 template<> struct std::tuple_element<1,B> { using type = const int&; }; argument
/llvm-project/clang/test/Analysis/
H A Duninit-structured-binding-tuple.cpp13 struct tuple_element { struct
28 struct tuple_element<0, mock_pair<T1, T2>> { struct
33 struct tuple_element<1, mock_pair<T1, T2>> { struct
41 constexpr std::tuple_element_t<I, std::mock_pair<T1, T2>> &
282 struct tuple_element<0, MixedTest> { struct
287 struct tuple_element<1, MixedTest> { struct
292 struct tuple_element<2, MixedTest> { struct
302 const std::tuple_element_t<I, MixedTest> &get(const MixedTest &t) {} in get()
H A Dlive-bindings-test.cpp106 struct tuple_element<N, Mytuple> { struct
107 using type = int;
/llvm-project/libcxx/include/__tuple/
H A Dtuple_element.h24 struct _LIBCPP_TEMPLATE_VIS tuple_element; variable
[all...]
/llvm-project/libcxx/include/__fwd/
H A Dtuple.h22 struct _LIBCPP_TEMPLATE_VIS tuple_element; variable
/llvm-project/libcxx/test/std/utilities/utility/pairs/pairs.pair/
H A Dctor.pair_like.pass.cpp46 struct tuple_element<N, my_ns::MyPairLike> { global() struct
47 typestd::tuple_element global() argument
/llvm-project/clang/test/SemaTemplate/
H A Dcxx1z-decomposition.cpp12 template<size_t, typename> struct tuple_element { using type = int; }; struct
H A Dclass-template-decl.cpp101 class tuple_element<0, pair<_T1, _T2> > class
/llvm-project/clang/test/Parser/
H A Ddecomposed-condition.cpp15 template<> struct tuple_element<0, Get> { using type = int; }; argument
/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/
H A Dtuple_size_structured_bindings.pass.cpp120 struct std::tuple_element<0, Test> { struct in std
121 typedef int type;
/llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dexample-tuple.cpp158 struct tuple_element<I, tuple<Head, Tail...> > { struct
159 typedef typename tuple_element<I-1, tuple<Tail...> >::type type; argument
163 struct tuple_element<0, tuple<Head, Tail...> > { struct
167 int check_tuple_element_0[is_same<tuple_element<0, tuple<int&, float, double>>::type, argument
H A Dexample-bind.cpp124 struct tuple_element<I, tuple<Head, Tail...> > { struct
125 typedef typename tuple_element<I-1, tuple<Tail...> >::type type; argument
129 struct tuple_element<0, tuple<Head, Tail...> > { struct
137 typedef typename tuple_element<I-1, tuple<Values...> >::type Element; argument