MyraMath
Public Member Functions | List of all members
myra::Index< N > Class Template Reference

Essentially a std::array<int,N>, provided for backwards compatibility. More...

#include <Index.h>

Public Member Functions

 Index (const int *p)
 
 Index (std::initializer_list< int > list)
 
const int & operator[] (int n) const
 
int & operator[] (int n)
 
const int * data () const
 
int * data ()
 
const int * begin () const
 
const int * end () const
 
int * begin ()
 
int * end ()
 
template<int F>
Index< F > first () const
 
template<int L>
Index< L > last () const
 

Detailed Description

template<int N>
class myra::Index< N >

Essentially a std::array<int,N>, provided for backwards compatibility.


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