/external/libcxx/test/std/containers/sequences/array/array.tuple/ |
D | tuple_element.pass.cpp | 23 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 …]
|
D | tuple_element.fail.cpp | 32 std::tuple_element<3, C> foo; // expected-note {{requested here}} in main()
|
/external/libcxx/test/std/utilities/utility/pairs/pair.astuple/ |
D | tuple_element.pass.cpp | 25 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()
|
D | tuple_element.fail.cpp | 21 …std::tuple_element<2, T>::type foo; // expected-error@utility:* {{Index out of bounds in std::tupl… in main()
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
D | example-tuple.cpp | 155 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
|
D | example-bind.cpp | 121 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/ |
D | tuple_element.pass.cpp | 31 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()
|
D | tuple.include.array.pass.cpp | 38 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()
|
D | tuple.include.utility.pass.cpp | 36 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()
|
D | tuple_element.fail.cpp | 29 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/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/ |
D | forward_as_tuple.pass.cpp | 35 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 | __tuple | 57 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 …]
|
D | tuple | 91 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 …]
|
D | utility | 107 template <size_t I, class T> class tuple_element; 110 template <class T1, class T2> struct tuple_element<0, pair<T1, T2> >; 111 template <class T1, class T2> struct tuple_element<1, pair<T1, T2> >; 114 typename tuple_element<I, pair<T1, T2> >::type& 118 const typename tuple_element<I, pair<T1, T2> >::type& 122 typename tuple_element<I, pair<T1, T2> >::type&& 126 const typename tuple_element<I, pair<T1, T2> >::type&& 690 class _LIBCPP_TEMPLATE_VIS tuple_element<_Ip, pair<_T1, _T2> > 692 static_assert(_Ip < 2, "Index out of bounds in std::tuple_element<std::pair<T1, T2>>"); 696 class _LIBCPP_TEMPLATE_VIS tuple_element<0, pair<_T1, _T2> > [all …]
|
D | array | 95 template <size_t I, class T> class tuple_element; 97 template <size_t I, class T, size_t N> struct tuple_element<I, array<T, N>>; 437 class _LIBCPP_TEMPLATE_VIS tuple_element<_Ip, array<_Tp, _Size> > 439 static_assert(_Ip < _Size, "Index out of bounds in std::tuple_element<> (std::array)");
|
/external/google-breakpad/src/testing/gtest/test/ |
D | gtest-tuple_test.cc | 41 using ::std::tr1::tuple_element; 47 StaticAssertTypeEq<int, tuple_element<0, tuple<int, char> >::type>(); in TEST() 48 StaticAssertTypeEq<int&, tuple_element<1, tuple<double, int&> >::type>(); in TEST() 49 StaticAssertTypeEq<bool, tuple_element<2, tuple<double, int, bool> >::type>(); in TEST()
|
/external/clang/test/SemaTemplate/ |
D | class-template-decl.cpp | 88 template <unsigned, class _Tp> class tuple_element; 93 class tuple_element<0, pair<_T1, _T2> > class
|
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/ |
D | gtest-printers.h | 878 struct tuple_element : ::std::tr1::tuple_element<I, Tuple> {}; struct 882 const typename ::std::tr1::tuple_element<I, Tuple>::type>::type get( in get() 898 struct tuple_element : ::std::tuple_element<I, Tuple> {}; 901 static const typename ::std::tuple_element<I, Tuple>::type& get( 931 typename TuplePolicy<Tuple>::template tuple_element<N - 1>::type>
|
/external/mesa3d/src/gtest/include/gtest/ |
D | gtest-printers.h | 878 struct tuple_element : ::std::tr1::tuple_element<I, Tuple> {}; struct 882 const typename ::std::tr1::tuple_element<I, Tuple>::type>::type get( in get() 898 struct tuple_element : ::std::tuple_element<I, Tuple> {}; 901 static const typename ::std::tuple_element<I, Tuple>::type& get( 931 typename TuplePolicy<Tuple>::template tuple_element<N - 1>::type>
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest-printers.h | 879 struct tuple_element : ::std::tr1::tuple_element<I, Tuple> {}; struct 883 const typename ::std::tr1::tuple_element<I, Tuple>::type>::type get( in get() 899 struct tuple_element : ::std::tuple_element<I, Tuple> {}; 902 static const typename ::std::tuple_element<I, Tuple>::type& get( 932 typename TuplePolicy<Tuple>::template tuple_element<N - 1>::type>
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
D | gtest-printers.h | 981 struct tuple_element : ::std::tr1::tuple_element<static_cast<int>(I), Tuple> { struct 985 static typename AddReference<const typename ::std::tr1::tuple_element< 1002 struct tuple_element : ::std::tuple_element<I, Tuple> {}; 1005 static const typename ::std::tuple_element<I, Tuple>::type& get( 1035 typename TuplePolicy<Tuple>::template tuple_element<N - 1>::type>
|
/external/libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/ |
D | pair.tuple_element.fail.cpp | 22 std::tuple_element<2, P>::type foo; // expected-note {{requested here}} in main()
|
/external/googletest/googlemock/include/gmock/ |
D | gmock-more-actions.h | 104 typedef typename ::std::tuple_element<k, args_type>::type argk_type; in ACTION_TEMPLATE()
|
/external/skqp/src/utils/ |
D | SkCallableTraits.h | 18 using type = typename std::tuple_element<N, std::tuple<Args...>>::type;
|
/external/skia/src/utils/ |
D | SkCallableTraits.h | 18 using type = typename std::tuple_element<N, std::tuple<Args...>>::type;
|