Home
last modified time | relevance | path

Searched refs:integer_sequence (Results 1 – 12 of 12) sorted by relevance

/external/libcxx/test/std/utilities/intseq/intseq.make/
Dmake_integer_seq.pass.cpp23 …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/
Dinteger_seq.pass.cpp29 using int3 = std::integer_sequence<int, 3, 2, 1>; in main()
30 using size1 = std::integer_sequence<std::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()
Dinteger_seq.fail.cpp32 using floatmix = std::integer_sequence<float>; in main()
/external/clang/test/SemaTemplate/
Dclass-template-spec.cpp154 template<typename T, T...N> struct integer_sequence { typedef T value_type; }; argument
170 …template<typename T, T ...N, T ...Extra> struct __make_integer_sequence_impl<integer_sequence<T, N…
174 typedef integer_sequence<T, N..., sizeof...(N) + N..., Extra...> type;
179 template<typename Dummy> struct make<0, 0, Dummy> { typedef integer_sequence<T> type; };
180 template<typename Dummy> struct make<1, 1, Dummy> { typedef integer_sequence<T, 0> type; };
190 using X = integer_sequence<int, 0, 1, 2, 3, 4>;
/external/clang/test/CodeGenCXX/
Dmangle-template.cpp206 template <class _Tp, _Tp...> struct integer_sequence {}; struct
211 __make_integer_seq<std::integer_sequence, int, N> make() {} in make()
212 template __make_integer_seq<std::integer_sequence, int, 5> make<5>();
/external/libcxx/test/std/utilities/intseq/intseq.general/
Dinteger_seq.pass.cpp21 auto extract ( const AtContainer &t, const std::integer_sequence<T, I...> ) in extract()
32 using intmix = std::integer_sequence<int, 9, 8, 7, 2>; // generates int: 9,8,7,2 in main()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/
Dapply_large_arity.pass.cpp38 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/experimental/utilities/tuple/tuple.apply/
Dlarge_arity.pass.cpp38 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/
Dtuple62 integer_sequence<size_t, _Id...>) {
/external/libcxx/include/
Dutility154 struct integer_sequence
162 using index_sequence = integer_sequence<size_t, I...>;
165 using make_integer_sequence = integer_sequence<T, 0, 1, ..., N-1>;
835 struct _LIBCPP_TEMPLATE_VIS integer_sequence
839 "std::integer_sequence can only be instantiated with an integral type" );
848 using index_sequence = integer_sequence<size_t, _Ip...>;
853 using __make_integer_sequence = __make_integer_seq<integer_sequence, _Tp, _Ep>;
858 typename __detail::__make<_Np>::type::template __convert<integer_sequence, _Tp>;
/external/llvm/include/llvm/ADT/
DSTLExtras.h261 template <class T, T... I> struct integer_sequence { struct
269 struct index_sequence : integer_sequence<std::size_t, I...> {}; argument
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSTLExtras.h461 template <class T, T... I> struct integer_sequence { struct
469 struct index_sequence : integer_sequence<std::size_t, I...> {}; argument