Skip to content

GB270 24 Collateral damage with move-only input iterators P1456 P1862 #266

@wg21bot

Description

@wg21bot

P1207 provided an opportunity for us to weaken input iterators so that they don't need to be copyable. While the author thinks that this is a step in the correct direction, P1207 has left us in a partial state where iterators don't need to be copyable, but views do. Given that views have underlying iterators, we need to address this problem before C++20 ships.

Proposed change:
Either apply P1456 and evaluate all standard range adaptors to determine if they're affected (and then apply changes to bring them into accordance with P1207 and P1456), or completely roll back P1207.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions