Low-Level Abstraction of Memory Access
llama::ArrayIndexRange< ArrayExtents > Struct Template Reference

Range allowing to iterate over all indices in an ArrayExtents. More...

#include <ArrayIndexRange.hpp>

+ Inheritance diagram for llama::ArrayIndexRange< ArrayExtents >:
+ Collaboration diagram for llama::ArrayIndexRange< ArrayExtents >:

Public Member Functions

constexpr ArrayIndexRange () noexcept=default
 
constexpr ArrayIndexRange (ArrayExtents extents) noexcept
 
constexpr auto begin () const noexcept -> ArrayIndexIterator< ArrayExtents >
 
constexpr auto end () const noexcept -> ArrayIndexIterator< ArrayExtents >
 

Detailed Description

template<typename ArrayExtents>
struct llama::ArrayIndexRange< ArrayExtents >

Range allowing to iterate over all indices in an ArrayExtents.

Definition at line 250 of file ArrayIndexRange.hpp.

Constructor & Destructor Documentation

◆ ArrayIndexRange() [1/2]

template<typename ArrayExtents >
constexpr llama::ArrayIndexRange< ArrayExtents >::ArrayIndexRange ( )
constexprdefaultnoexcept

◆ ArrayIndexRange() [2/2]

template<typename ArrayExtents >
constexpr llama::ArrayIndexRange< ArrayExtents >::ArrayIndexRange ( ArrayExtents  extents)
inlineexplicitconstexprnoexcept

Definition at line 261 of file ArrayIndexRange.hpp.

Member Function Documentation

◆ begin()

template<typename ArrayExtents >
constexpr auto llama::ArrayIndexRange< ArrayExtents >::begin ( ) const -> ArrayIndexIterator<ArrayExtents>
inlineconstexprnoexcept

Definition at line 266 of file ArrayIndexRange.hpp.

◆ end()

template<typename ArrayExtents >
constexpr auto llama::ArrayIndexRange< ArrayExtents >::end ( ) const -> ArrayIndexIterator<ArrayExtents>
inlineconstexprnoexcept

Definition at line 272 of file ArrayIndexRange.hpp.


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