|
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 detecting iterator-like types based on behavior. More...
#include <jh/conceptual/iterator.h>
Concept for detecting iterator-like types based on behavior.
*it, ++it, and it++. difference_type is defined, it must be a signed integral type. difference_type and operator- are defined, the result of a - b must be convertible to difference_type. difference_type may be omitted, but its definition must not conflict with iterator arithmetic semantics. | I | Type to be tested for iterator-like behavior. |
std::input_or_output_iterator but implemented through pure behavioral (duck-typed) validation.