Class for a view on a slice of an array. More...
#include <AH/Containers/Array.hpp>
Classes | |
| class | Iterator | 
Public Member Functions | |
| ArraySlice (ElementPtrType array) | |
| Constructor.  More... | |
| operator Array< T, N > () const | |
| Implicit conversion from slice to new array (creates a copy).  More... | |
| Array< T, N > | asArray () const | 
| ElementRefType | operator[] (size_t index) const | 
| Get the element at the given index.  More... | |
| Iterator | begin () const | 
| Iterator | end () const | 
| template<size_t Start, size_t End> | |
| ArraySlice< T, abs_diff(End, Start)+1, Reverse ^(End< Start), Const > | slice () const | 
Private Types | |
| using | ElementRefType = typename std::conditional< Const, const T &, T & >::type | 
| using | ElementPtrType = typename std::conditional< Const, const T *, T * >::type | 
Private Attributes | |
| ElementPtrType | array | 
Class for a view on a slice of an array.
Doesn't copy the contents of the array, it's just a reference to the original array.
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
| ArraySlice<T, abs_diff(End, Start) + 1, Reverse ^ (End < Start), Const> slice | ( | ) | const | 
      
  | 
  private | 
 1.8.16