A dimensional array, used for storing templated with and integer. For example a dimensional array of length 3 holding type T will have three values T<0> at index 0, T<1> at index 1, and T<2> at index 2.
More...
#include <DimensionalArray.h>
|
template<int I> |
T< I > & | get () |
| Get a value at a given index. More...
|
|
template<int I> |
const T< I > & | get () const |
| Get a value at an index. More...
|
|
template<int N, template< int > class T>
class ThunderEgg::DimensionalArray< N, T >
A dimensional array, used for storing templated with and integer. For example a dimensional array of length 3 holding type T will have three values T<0> at index 0, T<1> at index 1, and T<2> at index 2.
- Template Parameters
-
N | the length of the array |
T | the type to hold |
◆ get() [1/2]
template<int N, template< int > class T>
template<int I>
Get a value at a given index.
- Template Parameters
-
- Returns
- T& the value at that index
◆ get() [2/2]
template<int N, template< int > class T>
template<int I>
Get a value at an index.
- Template Parameters
-
- Returns
- const T& the value
The documentation for this class was generated from the following file: