Searched refs:integer_sequence (Results 1 – 9 of 9) sorted by relevance
/external/libcxx/test/std/utilities/intseq/intseq.make/ |
D | make_integer_seq.pass.cpp | 23 …static_assert(std::is_same<std::make_integer_sequence<int, 0>, std::integer_sequence<int>>::value,… in main() 24 …static_assert(std::is_same<std::make_integer_sequence<int, 1>, std::integer_sequence<int, 0>>::val… in main() 25 …static_assert(std::is_same<std::make_integer_sequence<int, 2>, std::integer_sequence<int, 0, 1>>::… in main() 26 …static_assert(std::is_same<std::make_integer_sequence<int, 3>, std::integer_sequence<int, 0, 1, 2>… in main() 28 …td::is_same<std::make_integer_sequence<unsigned long long, 0>, std::integer_sequence<unsigned long… in main() 29 …td::is_same<std::make_integer_sequence<unsigned long long, 1>, std::integer_sequence<unsigned long… in main() 30 …td::is_same<std::make_integer_sequence<unsigned long long, 2>, std::integer_sequence<unsigned long… in main() 31 …td::is_same<std::make_integer_sequence<unsigned long long, 3>, std::integer_sequence<unsigned long… in main()
|
/external/libcxx/test/std/utilities/intseq/intseq.intseq/ |
D | integer_seq.pass.cpp | 29 using int3 = std::integer_sequence<int, 3, 2, 1>; in main() 30 using size1 = std::integer_sequence<size_t, 7>; in main() 31 using ushort2 = std::integer_sequence<unsigned short, 4, 6>; in main() 32 using bool0 = std::integer_sequence<bool>; in main()
|
D | integer_seq.fail.cpp | 30 using floatmix = std::integer_sequence<float>; in main()
|
/external/clang/test/SemaTemplate/ |
D | class-template-spec.cpp | 145 …template<typename T, T...N> struct integer_sequence { typedef T value_type; }; // expected-warning… argument 151 …template<typename T, T ...N, T ...Extra> struct __make_integer_sequence_impl<integer_sequence<T, N… 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/ |
D | 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...>,… 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 …]
|
/external/libcxx/test/std/utilities/intseq/intseq.general/ |
D | integer_seq.pass.cpp | 22 auto extract ( const AtContainer &t, const std::integer_sequence<T, I...> idx ) in extract() 37 using intmix = std::integer_sequence<int, 9, 8, 7, 2>; // generates int: 9,8,7,2 in main()
|
/external/libcxx/test/std/experimental/utilities/tuple/tuple.apply/ |
D | 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/include/experimental/ |
D | tuple | 61 integer_sequence<size_t, _Id...>) {
|
/external/llvm/include/llvm/ADT/ |
D | STLExtras.h | 257 template <class T, T... I> struct integer_sequence { struct 265 struct index_sequence : integer_sequence<std::size_t, I...> {}; argument
|