/llvm-project/clang/test/CXX/dcl.decl/dcl.decomp/ |
H A D | p3.cpp | 51 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 D | cxx20-decomposition.cpp | 100 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 D | warn-unsequenced.cpp | 641 template<size_t, typename> struct tuple_element { using type = int; }; argument
|
/llvm-project/clang/test/CodeGenCXX/ |
H A D | cxx1z-decomposition.cpp | 16 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 D | uninit-structured-binding-tuple.cpp | 13 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 D | live-bindings-test.cpp | 106 struct tuple_element<N, Mytuple> { struct 107 using type = int;
|
/llvm-project/libcxx/include/__tuple/ |
H A D | tuple_element.h | 24 struct _LIBCPP_TEMPLATE_VIS tuple_element; variable [all...] |
/llvm-project/libcxx/include/__fwd/ |
H A D | tuple.h | 22 struct _LIBCPP_TEMPLATE_VIS tuple_element; variable
|
/llvm-project/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
H A D | ctor.pair_like.pass.cpp | 46 struct tuple_element<N, my_ns::MyPairLike> { global() struct 47 typestd::tuple_element global() argument
|
/llvm-project/clang/test/SemaTemplate/ |
H A D | cxx1z-decomposition.cpp | 12 template<size_t, typename> struct tuple_element { using type = int; }; struct
|
H A D | class-template-decl.cpp | 101 class tuple_element<0, pair<_T1, _T2> > class
|
/llvm-project/clang/test/Parser/ |
H A D | decomposed-condition.cpp | 15 template<> struct tuple_element<0, Get> { using type = int; }; argument
|
/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/ |
H A D | tuple_size_structured_bindings.pass.cpp | 120 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 D | example-tuple.cpp | 158 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 D | example-bind.cpp | 124 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
|