Skip to content

Confusion about formatting of Cpp17 iterator requirements #6537

@eisenwave

Description

@eisenwave

I'm confused about how iterator requirements should be formatted.

[forward.iterators] uses no formatting at all, and says

meets the requirements of a forward iterator if

However, it simultaneously references Cpp17InputIterator which is not consistent.

[iterator.requirements.general] p14 references "non-forward iterator", but this is not a defined term because "forward iterator" isn't defined, and it also doesn't use Cpp17ForwardIterator formatting.

Overall, this is very confusing, and I don't understand the logic behind when ItalicRequirement formatting should be used, and when plain formatting, or definition formatting should be used.

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