|
Argon 0.1.0
|
Shared position-keeping for the tail iterators. More...
#include <tail.hpp>
Public Member Functions | |
| PointerType * | ptr () const |
| size_t | remaining () const |
| Lanes left from the current position (not clamped to the lane count; FirstN saturates). | |
| bool | done () const |
Public Attributes | |
| PointerType * | base = nullptr |
| size_t | index = 0 |
| The current lane (frame) of the range. | |
| size_t | count = 0 |
| The number of lanes (frames) in the range. | |
Static Public Attributes | |
| static constexpr size_t | lanes = Argon<std::remove_const_t<PointerType>>::lanes |
Shared position-keeping for the tail iterators.
Positions count lanes (frames, for interleaved views) rather than holding a pointer, so the iterator never forms a pointer past the end of the range.