Skip to content

Conversation

@cor3ntin
Copy link

This proposes

<type> ::= Dy <type> <index expression>                   # pack indexing type
<expression> ::= sy <template-param> <index expression>   # pack indexing expression
<expression> ::= sy <function-param> <index expression>   # pack indexing expression

And roughly mirrors sizeof....
The case of a partially substituted pack of type is not handled.

This proposes
```
<type> ::= Dy <type> <index expression>                   # pack indexing type
<expression> ::= sy <template-param> <index expression>   # pack indexing expression
<expression> ::= sy <function-param> <index expression>   # pack indexing expression
```

And roughly mirrors `sizeof...`.
The case of a partially substituted pack of type is not handled.
@cor3ntin
Copy link
Author

Related issue #175

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant