Template Class data_traits< T[N] >

Class Documentation

template<typename T, size_t N>
class data_traits<T[N]>

Public Types

typedef T value_type[N]
typedef value_type &reference
typedef const value_type &const_reference
typedef T element_type
typedef T *element_pointer
typedef const T *const_element_pointer

Public Static Functions

static inline DataType data_type(const_reference val)
static inline NDSize shape(const_reference value)
static inline size_t num_elements(const_reference value)
static inline const_element_pointer get_data(const value_type &value)
static inline element_pointer get_data(value_type &value)
static inline void resize(reference value, const NDSize &dims)