SPH
Public Member Functions | List of all members
ConstexprArray< T, N > Class Template Reference

Container similar to StaticArray, but with constexpr constructors and getters. More...

#include <StaticArray.h>

Public Member Functions

template<typename... TArgs>
constexpr ConstexprArray (TArgs &&... args)
 
constexpr const T & operator[] (const Size idx) const
 
constexpr T & operator[] (const Size idx)
 

Detailed Description

template<typename T, Size N>
class ConstexprArray< T, N >

Container similar to StaticArray, but with constexpr constructors and getters.

Definition at line 292 of file StaticArray.h.

Constructor & Destructor Documentation

◆ ConstexprArray()

template<typename T , Size N>
template<typename... TArgs>
constexpr ConstexprArray< T, N >::ConstexprArray ( TArgs &&...  args)
inlineconstexpr

Definition at line 298 of file StaticArray.h.

Member Function Documentation

◆ operator[]() [1/2]

template<typename T , Size N>
constexpr T& ConstexprArray< T, N >::operator[] ( const Size  idx)
inlineconstexpr

Definition at line 305 of file StaticArray.h.

◆ operator[]() [2/2]

template<typename T , Size N>
constexpr const T& ConstexprArray< T, N >::operator[] ( const Size  idx) const
inlineconstexpr

Definition at line 301 of file StaticArray.h.


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