Home
last modified time | relevance | path

Searched refs:make_integer_sequence (Results 1 – 5 of 5) 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 …static_assert(std::is_same<std::make_integer_sequence<unsigned long long, 0>, std::integer_sequenc… in main()
29 …static_assert(std::is_same<std::make_integer_sequence<unsigned long long, 1>, std::integer_sequenc… in main()
30 …static_assert(std::is_same<std::make_integer_sequence<unsigned long long, 2>, std::integer_sequenc… in main()
31 …static_assert(std::is_same<std::make_integer_sequence<unsigned long long, 3>, std::integer_sequenc… in main()
Dmake_integer_seq.fail.cpp23 std::make_integer_sequence<int, -3>::value_type i; in main()
/external/clang/test/SemaTemplate/
Dclass-template-spec.cpp148 …template<typename T, T N> using make_integer_sequence = typename __make_integer_sequence<T>::templ… typedef
159 …me Dummy> struct make<N, 0, Dummy> : __make_integer_sequence_impl<make_integer_sequence<T, N/2> > …
160 …me Dummy> struct make<N, 1, Dummy> : __make_integer_sequence_impl<make_integer_sequence<T, N/2>, N…
163 using X = make_integer_sequence<int, 5>; // expected-warning {{extension}}
/external/libcxx/test/std/utilities/intseq/intseq.general/
Dinteger_seq.pass.cpp33 using int3 = std::make_integer_sequence<int, 3>; // generates int: 0,1,2 in main()
34 using size7 = std::make_integer_sequence<size_t, 7>; // generates size_t: 0,1,2,3,4,5,6 in main()
/external/libcxx/include/
Dutility143 using make_integer_sequence = integer_sequence<T, 0, 1, ..., N-1>;
145 using make_index_sequence = make_integer_sequence<size_t, N>;
744 "std::make_integer_sequence can only be instantiated with an integral type" );
745 static_assert(0 <= _Ep, "std::make_integer_sequence input shall not be negative");
750 using make_integer_sequence = typename __make_integer_sequence<_Tp, _Np>::type;
753 using make_index_sequence = make_integer_sequence<size_t, _Np>;