Skip to content

apex::iter namespace should be used to implement customization point objects for apex::mixin::iterator #12

@bruxisma

Description

@bruxisma

The advent of CPOs (customization point objects) for C++ dispatching means that apex::mixin::iterator could technically be implemented entirely by way of CPOs. In addition to ranges related traits (e.g., incrementable_traits, we can also rely on iter::next, iter::prev, etc. to see if a type meets the given interface for a specific iterator), having iter:: specific CPOs would allow us to also eventually wrap iterators into type erased iterator APIs. This will also make hooking into ranges easier in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featurecode contributing to the implementation of a feature and/or user facing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions