Skip to content

BTreeMap/Set should specify iteration is ordered #31129

Closed
@Roxxik

Description

@Roxxik

I just wanted to note that it is nowhere mentioned that all iterators from there are in sorted order. While I have to admit that it makes sense for a ordered container to provide ordered iterators, it is not documented. In the examples it is assumed that the iterators are ordered, but nowhere explictly stated.
Neither in the BTreeMap nor the BTreeSet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions