25 #ifndef INCLUDE_OLA_BASE_ARRAY_H_
26 #define INCLUDE_OLA_BASE_ARRAY_H_
43 template <
typename T,
size_t N>
44 char (&ArraySizeHelper(T (&array)[N]))[N];
54 template <
typename T,
size_t N>
55 char (&ArraySizeHelper(
const T (&array)[N]))[N];
64 #define arraysize(array) (sizeof(ola::ArraySizeHelper(array)))
93 const uint8_t* m_data;
96 #endif // INCLUDE_OLA_BASE_ARRAY_H_
Deletes an array when it goes out of scope.
Definition: Array.h:73
ArrayDeleter(const uint8_t *data)
Create a new ArrayDeleter.
Definition: Array.h:79
~ArrayDeleter()
Destructor.
Definition: Array.h:86
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44