|
JH-Toolkit v1.4.1
An engineering-oriented C++20 toolkit with duck-typed concepts, static design, async coroutines, and semantic containers — header-only, RTTI-free, and concurrency-friendly.
|
Concept for multi-pass, readable, and self-sentinel iterators. More...
#include <jh/conceptual/iterator.h>
Concept for multi-pass, readable, and self-sentinel iterators.
input_iterator, requiring readability and std::copyable to support multi-pass traversal. sentinel_for<I, I>, meaning the iterator can act as its own sentinel. S may be provided to verify that begin() and end() form a consistent pair, ensuring correct range termination semantics. *it matches iterator_reference_t.
| I | Iterator-like type providing multi-pass traversal.
|
| S | Sentinel type used to verify consistency (defaults to |