Skip to content

Update for compatibility with C++20 iterator concepts #89

Open
@Lastique

Description

@Lastique

In C++20, forward iterators (and more advanced) no longer require the iterator reference type to be an actual reference. Instead, it is required that a reference can be formed to the reference type.

Since Boost.Iterator iterators still define their categories using C++03 rules, some iterators receive unnecessarily strict categories in terms of C++20. Here is one example.

Perhaps, we should use C++20 rules for deducing iterator categories in C++20 and later and the current rules in C++17 and older.

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