Skip to content

FR-014-021 26.6 [range.factories] Add views::enumerate #416

@wg21bot

Description

@wg21bot

Despite great new additions to the set of views available to c++23, a very fundamental facility, the ability to get an indexed range of value is missing.
This often forces to use a raw loop, and the combination of zip + iota is not always correct and is more cumbersome that it should be for such a ubiquitous primitive.

Please consider adopting P2164 views::enumerate in C++23.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Tentatively Ready

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions