Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
ResettableGraphIterator Concept Reference

Concept for resettable graph iterators. More...

#include <graph-dry.H>

Concept definition

template<typename It>
concept ResettableGraphIterator = BasicGraphIterator<It> && requires(It it)
{
{ it.reset_first() } -> std::same_as<void>;
}
Concept for basic graph iterators.
Definition graph-dry.H:152
Concept for resettable graph iterators.
Definition graph-dry.H:172

Detailed Description

Concept for resettable graph iterators.

Extends BasicGraphIterator with the ability to reset to the first element. Most Aleph-w iterators support this operation.

Additional required expression:

  • it.reset_first() : Resets iterator to first element, returns void
Template Parameters
ItThe iterator type to check
See also
BasicGraphIterator

Definition at line 172 of file graph-dry.H.