Template Struct IteratorTraits< BlockIterator< T, Space > >¶
Defined in File iterator_traits.hpp
Struct Documentation¶
-
template<typename
T
, typenameSpace
>
structripple
::
IteratorTraits
<BlockIterator<T, Space>>¶ Specialization of the iterator traits for a block iterator.
- Template Parameters
T
: The type of the block iterator.Space
: The space for the iterator.
Public Types
-
using
Value
= typename LayoutTraits::Value¶ Defines the value type of the iterator.
-
using
Ref
= typename LayoutTraits::IterRef¶ Defines the reference type for the iterator.
-
using
CopyType
= typename LayoutTraits::IterCopy¶ Defines the copy type for the iterator, which is a type to ensure that the iterator data is copied.
-
using
Vec
= Vec<CopyType, dimensions, ContiguousOwned>¶ Defines the type of a vector of value type with matching dimensions.
Public Static Attributes
-
constexpr size_t
dimensions
= space_traits_t<Space>::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
= false¶ Returns that the iterator does not have index information.