Template Struct IteratorTraits< IndexedIterator< T, Space > >¶
Defined in File iterator_traits.hpp
Struct Documentation¶
-
template<typename
T
, typenameSpace
>
structripple
::
IteratorTraits
<IndexedIterator<T, Space>>¶ Specialization of the iterator traits for an indexed iterator.
- Template Parameters
T
: The type of the block iterator.Space
: The space for the iterator.
Public Types
-
using
Value
= typename BlockIterTraits::Value¶ Defines the value type of the iterator.
-
using
Ref
= typename BlockIterTraits::Ref¶ Defines the reference type for the iterator.
-
using
Vec
= typename BlockIterTraits::Vec¶ Defines the type of a vector of value type with matching dimensions.
-
using
CopyType
= typename BlockIterTraits::CopyType¶ Defines the copy type for the iterator.
Public Static Attributes
-
constexpr size_t
dimensions
= BlockIterTraits::dimensions¶ Defines the number of dimensions for the iterator.
-
constexpr bool
is_iterator
= true¶ Returns that the traits are for a valid iterator.
-
constexpr bool
has_indices
= true¶ Returns that the iterator does have index information.