• Docs >
  • Ripple API >
  • Template Struct IteratorTraits< BlockIterator< T, Space > >
Shortcuts

Template Struct IteratorTraits< BlockIterator< T, Space > >

Struct Documentation

template<typename T, typename Space>
struct ripple::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.

Docs

Access comprehensive developer documentation for Ripple

View Docs

Tutorials

Get tutorials to help with understand all features

View Tutorials

Examples

Find examples to help get started

View Examples