#include <block.h>
CArray<T, N> wraps a C-style array T[N] in its single member values, and it has conversion operators to Block. It can be used to specify an argument for a function parameter of Block type directly in the function call as in
To automatically determine N from the number of elements you can use the macro MAXON_C_ARRAY.
T | Type of the array elements. |
N | Size of the array. |
Public Member Functions | |
operator Block< T > () const | |
operator Block< typename std::conditional< STD_IS_REPLACEMENT (const, T) | |
const T | type () const |
operator StridedBlock< T > () const | |
operator Block< typename std::conditional< STD_IS_REPLACEMENT (const, T) | |
const T | true () const |
Public Attributes | |
DeleteReturnType01 | |
T | values [N] |
operator Block< T > | ( | ) | const |
operator Block< typename std::conditional< STD_IS_REPLACEMENT | ( | const | , |
T | |||
) |
const T type | ( | ) | const |
operator StridedBlock< T > | ( | ) | const |
operator Block< typename std::conditional< STD_IS_REPLACEMENT | ( | const | , |
T | |||
) |
const T true | ( | ) | const |
DeleteReturnType01 |
T values[N] |