Skip to content

Implement operator->() for iterators? #21

@Lyle-Alloy

Description

@Lyle-Alloy

Hey there,

I am not usually a C++ developer, but I was wondering if there was any reason that the -> operator is not implemented.

I have some code where I need to access some iterators in the context of a more complicated for loop and it would be very convenient.

It seems that some resources I've read about implementing iterators say to implement it, and some don't mention it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions