[dcl.type.pack.index] (original) (raw)
9 Declarations [dcl]
9.2 Specifiers [dcl.spec]
9.2.9 Type specifiers [dcl.type]
9.2.9.4 Pack indexing specifier [dcl.type.pack.index]
pack-index-specifier:
typedef-name ... [ constant-expression ]
The typedef-name P in a pack-index-specifiershall denote a pack.
The constant-expression shall be a converted constant expression ([expr.const]) of type std::size_twhose value V, termed the index, is such that .
A pack-index-specifier is a pack expansion ([temp.variadic]).
[Note 1:
The pack-index-specifier denotes the type of the element of the pack.
— _end note_]