A wrapper around a compile time c array.
More...
#include <typeManipulation.hpp>
|
LVARRAY_INTEL_CONSTEXPR T & | operator[] (camp::idx_t const i) |
|
constexpr T const & | operator[] (camp::idx_t const i) const |
|
constexpr camp::idx_t | size () |
|
|
T | data [N] = {} |
| The backing c array, public so that aggregate initialization works.
|
|
template<typename T, camp::idx_t N>
struct LvArray::typeManipulation::CArray< T, N >
A wrapper around a compile time c array.
- Template Parameters
-
T | The type of values stored in the array. |
N | The number of values in the array. |
Definition at line 506 of file typeManipulation.hpp.
◆ operator[]() [1/2]
template<typename T, camp::idx_t N>
- Returns
- Return a reference to the value at position
i
.
- Parameters
-
Definition at line 513 of file typeManipulation.hpp.
◆ operator[]() [2/2]
template<typename T, camp::idx_t N>
- Returns
- Return a const reference to the value at position
i
.
- Parameters
-
Definition at line 521 of file typeManipulation.hpp.
◆ size()
template<typename T, camp::idx_t N>
The documentation for this struct was generated from the following file: