Home
last modified time | relevance | path

Searched refs:integer_sequence (Results 1 – 9 of 9) 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<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.cpp30 using floatmix = std::integer_sequence<float>; in main()
/external/clang/test/SemaTemplate/
Dclass-template-spec.cpp145 …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/
Dutility132 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/
Dinteger_seq.pass.cpp22 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/
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/
Dtuple61 integer_sequence<size_t, _Id...>) {
/external/llvm/include/llvm/ADT/
DSTLExtras.h257 template <class T, T... I> struct integer_sequence { struct
265 struct index_sequence : integer_sequence<std::size_t, I...> {}; argument