Skip to content

Replace std::hashmap::{each_key, each_value} with iterators #11216

Closed
@Dretch

Description

@Dretch

It feels surprising to me that each_key and each_value still use the old closure-based iteration protocol.

I think it would be better if they were replaced with keys and values methods that return new-style iterators.

I can send a pull request, unless there are objections.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions