42 template <
typename T,
size_t N>
60 memcpy(this->m_buffer, rhs.m_buffer, N *
sizeof(T));
67 return (memcmp(this->m_buffer, rhs.m_buffer, N *
sizeof(T)) == 0);
82 operator const Buffer &()
const
96 memcpy(m_buffer, buffer, N *
sizeof(T));
static const size_t length
Number of elements contained in the array.
Definition: array.h:47
T Buffer[N]
Built-in array representation.
Definition: array.h:50
const array< T, N > & operator=(const array< T, N > &rhs)
Definition: array.h:56
bool operator==(const array< T, N > &rhs) const
Definition: array.h:65
Generic array class similar to std::array.
Definition: array.h:43
bool operator!=(const array< T, N > &rhs) const
Definition: array.h:70