|
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 iterators supporting random access operations. More...
#include <jh/conceptual/iterator.h>
Concept for iterators supporting random access operations.
bidirectional_iterator, extending capabilities to constant-time positional access and arithmetic offset operations. <, >, <=, and >=. Equality and inequality are already guaranteed by forward_iterator. iterator_difference_t type for
distance computation between iterators.
Must support arithmetic and indexing:
i += n, i -= n, j + n, n + j, j - n, and j[n].
An optional sentinel type S can be provided to check range consistency between begin() and end(). | I | Iterator-like type supporting random access and arithmetic operations.
|
| S | Sentinel type used to verify consistency (defaults to |