[intseq.intseq]

# 21 Metaprogramming library [[meta]](./#meta)

## 21.2 Compile-time integer sequences [[intseq]](intseq#intseq)

### 21.2.2 Class template integer_sequence [intseq.intseq]

[ð](#lib:integer_sequence)

namespace std {template<class T, T... I> struct integer_sequence {using value_type = T; static constexpr size_t size() noexcept { return sizeof...(I); }};}

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/meta.tex#L43)

*Mandates*: T is an integer type[.](#1.sentence-1)
