Argon 0.1.0
Loading...
Searching...
No Matches
argon::vectorize::detail::TailCursor< PointerType, Stride > Struct Template Reference

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

Detailed Description

template<typename PointerType, size_t Stride>
struct argon::vectorize::detail::TailCursor< PointerType, Stride >

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.


The documentation for this struct was generated from the following file: