Skip to content

Support for next_if and next_if_eq on PeekNth #733

@herlev

Description

@herlev

Currently the documentation for itertools::peek_nth says:

A drop-in replacement for std::iter::Peekable which adds a peek_nth method allowing the user to peek at a value several iterations forward without advancing the base iterator.

It is however not a drop-in replacement at the moment, since the methods next_if and next_if_eq isn't implemented.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions