Skip to content

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

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3-OtherTriaged issue not in P1 or P2

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions