Skip to content

Implement iterator #19

@aaarne

Description

@aaarne

It would be nice to have an iterator interface on the RingBuffer, then you can use the STL algorithms on the RingBuffer.
All required for that is a begin and end method returning the iterators.
You could then, for instance, sum up the values in the BufferEasily using std::accumulate.

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