ThunderEgg  1.0.0
ThunderEgg::DimensionalArray< 1, T > Class Template Reference

Dimensional Array specialization for length of 1. More...

#include <DimensionalArray.h>

Public Member Functions

template<int I>
T< I > & get ()
 Get a value at an index. More...
 
template<int I>
const T< I > & get () const
 Get a value at an index. More...
 

Detailed Description

template<template< int > class T>
class ThunderEgg::DimensionalArray< 1, T >

Dimensional Array specialization for length of 1.

Template Parameters
Tthe type that is being held

Member Function Documentation

◆ get() [1/2]

template<template< int > class T>
template<int I>
T<I>& ThunderEgg::DimensionalArray< 1, T >::get ( )
inline

Get a value at an index.

Template Parameters
Ithe index
Returns
const T& the value

◆ get() [2/2]

template<template< int > class T>
template<int I>
const T<I>& ThunderEgg::DimensionalArray< 1, T >::get ( ) const
inline

Get a value at an index.

Template Parameters
Ithe index
Returns
const T& the value

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