/external/libcxx/test/std/utilities/intseq/intseq.make/ |
make_integer_seq.pass.cpp | 13 // using make_integer_sequence = integer_sequence<T, 0, 1, ..., N-1>; 23 static_assert(std::is_same<std::make_integer_sequence<int, 0>, std::integer_sequence<int>>::value, ""); 24 static_assert(std::is_same<std::make_integer_sequence<int, 1>, std::integer_sequence<int, 0>>::value, ""); 25 static_assert(std::is_same<std::make_integer_sequence<int, 2>, std::integer_sequence<int, 0, 1>>::value, ""); 26 static_assert(std::is_same<std::make_integer_sequence<int, 3>, std::integer_sequence<int, 0, 1, 2>>::value, ""); 28 static_assert(std::is_same<std::make_integer_sequence<unsigned long long, 0>, std::integer_sequence<unsigned long long>>::value, ""); 29 static_assert(std::is_same<std::make_integer_sequence<unsigned long long, 1>, std::integer_sequence<unsigned long long, 0>>::value, ""); 30 static_assert(std::is_same<std::make_integer_sequence<unsigned long long, 2>, std::integer_sequence<unsigned long long, 0, 1>>::value, ""); 31 static_assert(std::is_same<std::make_integer_sequence<unsigned long long, 3>, std::integer_sequence<unsigned long long, 0, 1, 2>>::value, "");
|
make_integer_seq.fail.cpp | 13 // using make_integer_sequence = integer_sequence<T, 0, 1, ..., N-1>;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/intseq/intseq.make/ |
make_integer_seq.pass.cpp | 13 // using make_integer_sequence = integer_sequence<T, 0, 1, ..., N-1>; 23 static_assert(std::is_same<std::make_integer_sequence<int, 0>, std::integer_sequence<int>>::value, ""); 24 static_assert(std::is_same<std::make_integer_sequence<int, 1>, std::integer_sequence<int, 0>>::value, ""); 25 static_assert(std::is_same<std::make_integer_sequence<int, 2>, std::integer_sequence<int, 0, 1>>::value, ""); 26 static_assert(std::is_same<std::make_integer_sequence<int, 3>, std::integer_sequence<int, 0, 1, 2>>::value, ""); 28 static_assert(std::is_same<std::make_integer_sequence<unsigned long long, 0>, std::integer_sequence<unsigned long long>>::value, ""); 29 static_assert(std::is_same<std::make_integer_sequence<unsigned long long, 1>, std::integer_sequence<unsigned long long, 0>>::value, ""); 30 static_assert(std::is_same<std::make_integer_sequence<unsigned long long, 2>, std::integer_sequence<unsigned long long, 0, 1>>::value, ""); 31 static_assert(std::is_same<std::make_integer_sequence<unsigned long long, 3>, std::integer_sequence<unsigned long long, 0, 1, 2>>::value, "");
|
make_integer_seq.fail.cpp | 13 // using make_integer_sequence = integer_sequence<T, 0, 1, ..., N-1>;
|
/external/libcxx/test/std/utilities/intseq/intseq.intseq/ |
integer_seq.pass.cpp | 13 // struct integer_sequence 29 using int3 = std::integer_sequence<int, 3, 2, 1>; 30 using size1 = std::integer_sequence<size_t, 7>; 31 using ushort2 = std::integer_sequence<unsigned short, 4, 6>; 32 using bool0 = std::integer_sequence<bool>;
|
integer_seq.fail.cpp | 13 // struct integer_sequence 30 using floatmix = std::integer_sequence<float>;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/intseq/intseq.intseq/ |
integer_seq.pass.cpp | 13 // struct integer_sequence 29 using int3 = std::integer_sequence<int, 3, 2, 1>; 30 using size1 = std::integer_sequence<size_t, 7>; 31 using ushort2 = std::integer_sequence<unsigned short, 4, 6>; 32 using bool0 = std::integer_sequence<bool>;
|
integer_seq.fail.cpp | 13 // struct integer_sequence 30 using floatmix = std::integer_sequence<float>;
|
/external/clang/test/SemaTemplate/ |
class-template-spec.cpp | 145 template<typename T, T...N> struct integer_sequence { typedef T value_type; }; // expected-warning {{extension}} struct in namespace:PR16519 151 template<typename T, T ...N, T ...Extra> struct __make_integer_sequence_impl<integer_sequence<T, N...>, Extra...> { // expected-warning 2{{extension}} 152 typedef integer_sequence<T, N..., sizeof...(N) + N..., Extra...> type; 157 template<typename Dummy> struct make<0, 0, Dummy> { typedef integer_sequence<T> type; }; 158 template<typename Dummy> struct make<1, 1, Dummy> { typedef integer_sequence<T, 0> type; }; 164 using X = integer_sequence<int, 0, 1, 2, 3, 4>; // expected-warning {{extension}}
|
/external/libcxx/include/ |
utility | 132 struct integer_sequence 140 using index_sequence = integer_sequence<size_t, I...>; 143 using make_integer_sequence = integer_sequence<T, 0, 1, ..., N-1>; 659 struct _LIBCPP_TYPE_VIS_ONLY integer_sequence 663 "std::integer_sequence can only be instantiated with an integral type" ); 672 using index_sequence = integer_sequence<size_t, _Ip...>; 677 template<typename _Tp, _Tp ..._Np, size_t ..._Extra> struct __repeat<integer_sequence<_Tp, _Np...>, _Extra...> { 678 typedef integer_sequence<_Tp, 693 template<> struct __make<0> { typedef integer_sequence<size_t> type; }; 694 template<> struct __make<1> { typedef integer_sequence<size_t, 0> type; } [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
utility | 132 struct integer_sequence 140 using index_sequence = integer_sequence<size_t, I...>; 143 using make_integer_sequence = integer_sequence<T, 0, 1, ..., N-1>; 672 struct _LIBCPP_TYPE_VIS_ONLY integer_sequence 676 "std::integer_sequence can only be instantiated with an integral type" ); 685 using index_sequence = integer_sequence<size_t, _Ip...>; 690 template<typename _Tp, _Tp ..._Np, size_t ..._Extra> struct __repeat<integer_sequence<_Tp, _Np...>, _Extra...> { 691 typedef integer_sequence<_Tp, 706 template<> struct __make<0> { typedef integer_sequence<size_t> type; }; 707 template<> struct __make<1> { typedef integer_sequence<size_t, 0> type; } [all...] |
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/libcxx/include/ |
utility | 132 struct integer_sequence 140 using index_sequence = integer_sequence<size_t, I...>; 143 using make_integer_sequence = integer_sequence<T, 0, 1, ..., N-1>; 672 struct _LIBCPP_TYPE_VIS_ONLY integer_sequence 676 "std::integer_sequence can only be instantiated with an integral type" ); 685 using index_sequence = integer_sequence<size_t, _Ip...>; 690 template<typename _Tp, _Tp ..._Np, size_t ..._Extra> struct __repeat<integer_sequence<_Tp, _Np...>, _Extra...> { 691 typedef integer_sequence<_Tp, 706 template<> struct __make<0> { typedef integer_sequence<size_t> type; }; 707 template<> struct __make<1> { typedef integer_sequence<size_t, 0> type; } [all...] |
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ |
utility | 219 /// Class template integer_sequence 221 struct integer_sequence 237 typedef integer_sequence<_Tp, static_cast<_Tp>(_Idx)...> __type; 247 using index_sequence = integer_sequence<size_t, _Idx...>;
|
/external/libcxx/include/experimental/ |
tuple | 61 integer_sequence<size_t, _Id...>) {
|
/external/libcxx/test/std/experimental/utilities/tuple/tuple.apply/ |
large_arity.pass.cpp | 38 struct make_function<Tp, std::integer_sequence<std::size_t, Idx...>> 52 struct make_tuple_imp<Tp, std::integer_sequence<std::size_t, Idx...>>
|
/external/libcxx/test/std/utilities/intseq/intseq.general/ |
integer_seq.pass.cpp | 22 auto extract ( const AtContainer &t, const std::integer_sequence<T, I...> idx ) 37 using intmix = std::integer_sequence<int, 9, 8, 7, 2>; // generates int: 9,8,7,2
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/intseq/intseq.general/ |
integer_seq.pass.cpp | 22 auto extract ( const AtContainer &t, const std::integer_sequence<T, I...> idx ) 37 using intmix = std::integer_sequence<int, 9, 8, 7, 2>; // generates int: 9,8,7,2
|
/external/llvm/include/llvm/ADT/ |
STLExtras.h | 257 template <class T, T... I> struct integer_sequence { struct in namespace:llvm 265 struct index_sequence : integer_sequence<std::size_t, I...> {};
|