Template Class data_traits< std::vector< T > >

Class Documentation

template<typename T>
class data_traits<std::vector<T>>

Public Types

typedef std::vector<T> value_type
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_reference value)
static inline element_pointer get_data(value_type &value)
static inline void resize(reference value, const NDSize &dims)