Skip to content

FR-015-026 24.7.3 [views.span] Remove cbegin / cend from spans and views #417

@wg21bot

Description

@wg21bot

views::as_const, ranges::cbegin, const_iterator are enough ways to produce a constant iterator already.
Adding member functions producing const_iterator does no seem more justified than member functions producing any other view adaptor, and the cases where an iterator is needed should be rare as ranges gets more widely adopted.

Please consider removing span::cbegin/cend, and view_interface::cbegin/cend.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions