Skip to content

[tuple], [variant] Use pack indexing #8795

@eisenwave

Description

@eisenwave

https://eel.is/c++draft/tuple.cnstr and https://eel.is/c++draft/variant.ctor#1 provide an invented syntax $T_i$ to denote the $i^{th}$ type in a pack Types.

This invented syntax is completely unnecessary now that we have pack indexing; we could simply write Types...[i], and probably should do so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3-OtherTriaged issue not in P1 or P2decision-requiredA decision of the editorial group (or the Project Editor) is required.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions