20 #ifndef LUNCHBOX_ARRAY_H 21 #define LUNCHBOX_ARRAY_H 23 #include <lunchbox/debug.h> 34 Array(T* data_,
const size_t num_)
59 inline std::ostream& operator<<(std::ostream& os, const Array<T>& array)
64 #endif // LUNCHBOX_ARRAY_H A wrapper for C arrays without any memory management.
Array(T *data_, const size_t num_)
Create a new array wrapper for the given data.
Basic type definitions not provided by the operating system.
size_t getNumBytes() const
std::string format(const T *data, const size_t num)
Format the given array in a human-readable form.
size_t num
The number of elements in the data.
Abstraction layer and common utilities for multi-threaded programming.