/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/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...> {};
|