|
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.
|
Sentinel type for jh::ranges::zip_view.
More...
#include <jh/ranges/zip_view.h>
Public Attributes | |
| std::tuple< Sentinels... > | ends |
| Tuple of underlying range end iterators. | |
Sentinel type for jh::ranges::zip_view.
zip_sentinel represents the logical end of a jh::ranges::zip_view. It holds a tuple of end iterators (Sentinels...) corresponding to the underlying ranges being zipped together.
During iteration, zip_iterator compares itself against a zip_sentinel to determine termination. Iteration stops when any of the underlying iterators equals its corresponding sentinel — ensuring short-circuit termination on the shortest range.
| Sentinels | The sentinel types associated with the zipped ranges. |