Home
last modified time | relevance | path

Searched refs:tuple_element (Results 1 – 25 of 127) sorted by relevance

123456

/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/sequences/array/array.tuple/
Dtuple_element.pass.cpp24 static_assert((std::is_same<typename std::tuple_element<0, C>::type, Exp>::value), ""); in test()
25 static_assert((std::is_same<typename std::tuple_element<1, C>::type, Exp>::value), ""); in test()
26 static_assert((std::is_same<typename std::tuple_element<2, C>::type, Exp>::value), ""); in test()
31 static_assert((std::is_same<typename std::tuple_element<0, C>::type, Exp>::value), ""); in test()
32 static_assert((std::is_same<typename std::tuple_element<1, C>::type, Exp>::value), ""); in test()
33 static_assert((std::is_same<typename std::tuple_element<2, C>::type, Exp>::value), ""); in test()
38 static_assert((std::is_same<typename std::tuple_element<0, C>::type, Exp>::value), ""); in test()
39 static_assert((std::is_same<typename std::tuple_element<1, C>::type, Exp>::value), ""); in test()
40 static_assert((std::is_same<typename std::tuple_element<2, C>::type, Exp>::value), ""); in test()
45 static_assert((std::is_same<typename std::tuple_element<0, C>::type, Exp>::value), ""); in test()
[all …]
/external/libcxx/test/std/containers/sequences/array/array.tuple/
Dtuple_element.pass.cpp23 static_assert((std::is_same<typename std::tuple_element<0, C>::type, Exp>::value), ""); in test()
24 static_assert((std::is_same<typename std::tuple_element<1, C>::type, Exp>::value), ""); in test()
25 static_assert((std::is_same<typename std::tuple_element<2, C>::type, Exp>::value), ""); in test()
30 static_assert((std::is_same<typename std::tuple_element<0, C>::type, Exp>::value), ""); in test()
31 static_assert((std::is_same<typename std::tuple_element<1, C>::type, Exp>::value), ""); in test()
32 static_assert((std::is_same<typename std::tuple_element<2, C>::type, Exp>::value), ""); in test()
37 static_assert((std::is_same<typename std::tuple_element<0, C>::type, Exp>::value), ""); in test()
38 static_assert((std::is_same<typename std::tuple_element<1, C>::type, Exp>::value), ""); in test()
39 static_assert((std::is_same<typename std::tuple_element<2, C>::type, Exp>::value), ""); in test()
44 static_assert((std::is_same<typename std::tuple_element<0, C>::type, Exp>::value), ""); in test()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/utility/pairs/pair.astuple/
Dtuple_element.pass.cpp25 static_assert((std::is_same<typename std::tuple_element<0, P>::type, Exp1>::value), ""); in test()
26 static_assert((std::is_same<typename std::tuple_element<1, P>::type, Exp2>::value), ""); in test()
32 static_assert((std::is_same<typename std::tuple_element<0, P>::type, Exp1>::value), ""); in test()
33 static_assert((std::is_same<typename std::tuple_element<1, P>::type, Exp2>::value), ""); in test()
39 static_assert((std::is_same<typename std::tuple_element<0, P>::type, Exp1>::value), ""); in test()
40 static_assert((std::is_same<typename std::tuple_element<1, P>::type, Exp2>::value), ""); in test()
46 static_assert((std::is_same<typename std::tuple_element<0, P>::type, Exp1>::value), ""); in test()
47 static_assert((std::is_same<typename std::tuple_element<1, P>::type, Exp2>::value), ""); in test()
/external/libcxx/test/std/utilities/utility/pairs/pair.astuple/
Dtuple_element.pass.cpp25 static_assert((std::is_same<typename std::tuple_element<0, P>::type, Exp1>::value), ""); in test()
26 static_assert((std::is_same<typename std::tuple_element<1, P>::type, Exp2>::value), ""); in test()
32 static_assert((std::is_same<typename std::tuple_element<0, P>::type, Exp1>::value), ""); in test()
33 static_assert((std::is_same<typename std::tuple_element<1, P>::type, Exp2>::value), ""); in test()
39 static_assert((std::is_same<typename std::tuple_element<0, P>::type, Exp1>::value), ""); in test()
40 static_assert((std::is_same<typename std::tuple_element<1, P>::type, Exp2>::value), ""); in test()
46 static_assert((std::is_same<typename std::tuple_element<0, P>::type, Exp1>::value), ""); in test()
47 static_assert((std::is_same<typename std::tuple_element<1, P>::type, Exp2>::value), ""); in test()
/external/cronet/buildtools/third_party/libc++/trunk/include/__tuple/
Dtuple_element.h26 template <size_t _Ip, class _Tp> struct _LIBCPP_TEMPLATE_VIS tuple_element; variable
29 struct _LIBCPP_TEMPLATE_VIS tuple_element<_Ip, const _Tp>
31 typedef _LIBCPP_NODEBUG typename add_const<typename tuple_element<_Ip, _Tp>::type>::type type;
35 struct _LIBCPP_TEMPLATE_VIS tuple_element<_Ip, volatile _Tp>
37 … typedef _LIBCPP_NODEBUG typename add_volatile<typename tuple_element<_Ip, _Tp>::type>::type type;
41 struct _LIBCPP_TEMPLATE_VIS tuple_element<_Ip, const volatile _Tp>
43 typedef _LIBCPP_NODEBUG typename add_cv<typename tuple_element<_Ip, _Tp>::type>::type type;
78 struct _LIBCPP_TEMPLATE_VIS tuple_element<_Ip, __tuple_types<_Types...> >
86 using tuple_element_t _LIBCPP_NODEBUG = typename tuple_element <_Ip, _Tp...>::type;
/external/cronet/buildtools/third_party/libc++/trunk/include/__fwd/
Dget.h31 typename tuple_element<_Ip, tuple<_Tp...> >::type&
36 const typename tuple_element<_Ip, tuple<_Tp...> >::type&
41 typename tuple_element<_Ip, tuple<_Tp...> >::type&&
46 const typename tuple_element<_Ip, tuple<_Tp...> >::type&&
53 typename tuple_element<_Ip, pair<_T1, _T2> >::type&
58 const typename tuple_element<_Ip, pair<_T1, _T2> >::type&
64 typename tuple_element<_Ip, pair<_T1, _T2> >::type&&
69 const typename tuple_element<_Ip, pair<_T1, _T2> >::type&&
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dexample-tuple.cpp155 template<int I, typename Tuple> struct tuple_element;
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
170 int check_tuple_element_1[is_same<tuple_element<1, tuple<int&, float, double>>::type,
173 int check_tuple_element_2[is_same<tuple_element<2, tuple<int&, float, double>>::type,
180 typedef typename tuple_element<I-1, tuple<Values...> >::type Element;
199 typename tuple_element<I, tuple<Values...> >::type >::type
205 typename tuple_element<I, tuple<Values...> >::type >::type
Dexample-bind.cpp121 template<int I, typename Tuple> struct tuple_element;
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
156 typename tuple_element<I, tuple<Values...> >::type >::type
162 typename tuple_element<I, tuple<Values...> >::type >::type
271 typedef typename tuple_element<I, tuple<Values...> >::type type;
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/
Dtuple_element.pass.cpp31 static_assert((std::is_same<typename std::tuple_element<N, T>::type, U>::value), ""); in test()
32 … static_assert((std::is_same<typename std::tuple_element<N, const T>::type, const U>::value), ""); in test()
33 …static_assert((std::is_same<typename std::tuple_element<N, volatile T>::type, volatile U>::value),… in test()
34 …static_assert((std::is_same<typename std::tuple_element<N, const volatile T>::type, const volatile… in test()
Dtuple.include.utility.pass.cpp36 static_assert((std::is_same<typename std::tuple_element<idx, T>::type, U>::value), ""); in test()
37 …static_assert((std::is_same<typename std::tuple_element<idx, const T>::type, const U>::value), ""); in test()
38 …static_assert((std::is_same<typename std::tuple_element<idx, volatile T>::type, volatile U>::value… in test()
39 …static_assert((std::is_same<typename std::tuple_element<idx, const volatile T>::type, const volati… in test()
Dtuple.include.array.pass.cpp38 static_assert((std::is_same<typename std::tuple_element<idx, T>::type, U>::value), ""); in test()
39 …static_assert((std::is_same<typename std::tuple_element<idx, const T>::type, const U>::value), ""); in test()
40 …static_assert((std::is_same<typename std::tuple_element<idx, volatile T>::type, volatile U>::value… in test()
41 …static_assert((std::is_same<typename std::tuple_element<idx, const volatile T>::type, const volati… in test()
Dtuple_element.fail.cpp29 using E1 = typename std::tuple_element<1, T &>::type; // expected-error{{undefined template}} in main()
30 using E2 = typename std::tuple_element<3, T>::type; in main()
31 using E3 = typename std::tuple_element<4, T const>::type; in main()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/tuple/tuple.tuple/tuple.helper/
Dtuple_element.pass.cpp29 static_assert((std::is_same<typename std::tuple_element<N, T>::type, U>::value), ""); in test()
30 … static_assert((std::is_same<typename std::tuple_element<N, const T>::type, const U>::value), ""); in test()
31 …static_assert((std::is_same<typename std::tuple_element<N, volatile T>::type, volatile U>::value),… in test()
32 …static_assert((std::is_same<typename std::tuple_element<N, const volatile T>::type, const volatile… in test()
Dtuple.include.utility.pass.cpp37 static_assert((std::is_same<typename std::tuple_element<idx, T>::type, U>::value), ""); in test()
38 …static_assert((std::is_same<typename std::tuple_element<idx, const T>::type, const U>::value), ""); in test()
39 …static_assert((std::is_same<typename std::tuple_element<idx, volatile T>::type, volatile U>::value… in test()
40 …static_assert((std::is_same<typename std::tuple_element<idx, const volatile T>::type, const volati… in test()
Dtuple.include.array.pass.cpp38 static_assert((std::is_same<typename std::tuple_element<idx, T>::type, U>::value), ""); in test()
39 …static_assert((std::is_same<typename std::tuple_element<idx, const T>::type, const U>::value), ""); in test()
40 …static_assert((std::is_same<typename std::tuple_element<idx, volatile T>::type, volatile U>::value… in test()
41 …static_assert((std::is_same<typename std::tuple_element<idx, const volatile T>::type, const volati… in test()
Dtuple_element.fail.cpp27 using E1 = typename std::tuple_element<1, T &>::type; // expected-error{{undefined template}} in main()
28 using E2 = typename std::tuple_element<3, T>::type; in main()
29 using E3 = typename std::tuple_element<4, T const>::type; in main()
Dtuple.include.ranges.pass.cpp47 static_assert(std::same_as<typename std::tuple_element<I, Range>::type, Expected>); in test_tuple_element()
48 static_assert(std::same_as<typename std::tuple_element<I, const Range>::type, Expected>); in test_tuple_element()
/external/libabigail/tests/data/test-diff-dwarf/
Dtest42-PR21296-clanggcc.cc175 struct tuple_element;
182 struct tuple_element<__i, tuple<_Head, _Tail...> > struct
183 : tuple_element<__i - 1, tuple<_Tail...> > { };
189 struct tuple_element<0, tuple<_Head, _Tail...> > struct
195 struct tuple_element<__i, const _Tp> struct
197 typedef const typename tuple_element<__i, _Tp>::type type; argument
211 typename tuple_element<__i, tuple<_Elements...>>::type
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/
Dforward_as_tuple.pass.cpp34 static_assert(std::is_same<typename std::tuple_element<0, Tuple>::type, int&&>::value, ""); in test1a()
43 static_assert(std::is_same<typename std::tuple_element<0, Tuple>::type, int&>::value, ""); in test1b()
52 static_assert(std::is_same<typename std::tuple_element<0, Tuple>::type, double&>::value, ""); in test2a()
53 static_assert(std::is_same<typename std::tuple_element<1, Tuple>::type, char&>::value, ""); in test2a()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/
Dforward_as_tuple.pass.cpp35 static_assert(std::is_same<typename std::tuple_element<0, Tuple>::type, int&&>::value, ""); in test1a()
44 static_assert(std::is_same<typename std::tuple_element<0, Tuple>::type, int&>::value, ""); in test1b()
53 static_assert(std::is_same<typename std::tuple_element<0, Tuple>::type, double&>::value, ""); in test2a()
54 static_assert(std::is_same<typename std::tuple_element<1, Tuple>::type, char&>::value, ""); in test2a()
/external/libcxx/include/
D__tuple57 template <size_t _Ip, class _Tp> class _LIBCPP_TEMPLATE_VIS tuple_element;
60 class _LIBCPP_TEMPLATE_VIS tuple_element<_Ip, const _Tp>
63 typedef typename add_const<typename tuple_element<_Ip, _Tp>::type>::type type;
67 class _LIBCPP_TEMPLATE_VIS tuple_element<_Ip, volatile _Tp>
70 typedef typename add_volatile<typename tuple_element<_Ip, _Tp>::type>::type type;
74 class _LIBCPP_TEMPLATE_VIS tuple_element<_Ip, const volatile _Tp>
77 typedef typename add_cv<typename tuple_element<_Ip, _Tp>::type>::type type;
175 typename tuple_element<_Ip, tuple<_Tp...> >::type&
180 const typename tuple_element<_Ip, tuple<_Tp...> >::type&
185 typename tuple_element<_Ip, tuple<_Tp...> >::type&&
[all …]
Dtuple91 template <size_t I, class T> class tuple_element; // undefined
92 template <size_t I, class... T> class tuple_element<I, tuple<T...>>;
94 using tuple_element_t = typename tuple_element <I, T>::type; // C++14
98 typename tuple_element<I, tuple<T...>>::type&
101 const typename tuple_element<I, tuple<T...>>::type&
104 typename tuple_element<I, tuple<T...>>::type&&
107 const typename tuple_element<I, tuple<T...>>::type&&
405 …le_impl(_Tuple&& __t) _NOEXCEPT_((__all<is_nothrow_constructible<_Tp, typename tuple_element<_Indx,
407 : __tuple_leaf<_Indx, _Tp>(_VSTD::forward<typename tuple_element<_Indx,
419 : __tuple_leaf<_Indx, _Tp>(__uses_alloc_ctor<_Tp, _Alloc, typename tuple_element<_Indx,
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/include/
Dutility149 template <size_t I, class T> struct tuple_element;
152 template <class T1, class T2> struct tuple_element<0, pair<T1, T2> >;
153 template <class T1, class T2> struct tuple_element<1, pair<T1, T2> >;
156 typename tuple_element<I, pair<T1, T2> >::type&
160 const typename tuple_element<I, pair<T1, T2> >::type&
164 typename tuple_element<I, pair<T1, T2> >::type&&
168 const typename tuple_element<I, pair<T1, T2> >::type&&
275 #include <__tuple/tuple_element.h>
/external/clang/test/SemaTemplate/
Dclass-template-decl.cpp88 template <unsigned, class _Tp> class tuple_element;
93 class tuple_element<0, pair<_T1, _T2> > class
/external/cronet/buildtools/third_party/libc++/trunk/include/__ranges/
Dsubrange.h268 struct tuple_element<0, ranges::subrange<_Ip, _Sp, _Kp>> {
273 struct tuple_element<1, ranges::subrange<_Ip, _Sp, _Kp>> {
278 struct tuple_element<0, const ranges::subrange<_Ip, _Sp, _Kp>> {
283 struct tuple_element<1, const ranges::subrange<_Ip, _Sp, _Kp>> {

123456