24 #ifndef __ARM_COMPUTE_ARRAY_H__ 25 #define __ARM_COMPUTE_ARRAY_H__ 42 :
IArray<T>(0), _values(nullptr)
50 :
IArray<T>(max_num_values), _values(
arm_compute::cpp14::make_unique<T[]>(max_num_values))
61 std::unique_ptr<T[]> _values;
T * buffer() const override
Pointer to the first element of the array.
Basic implementation of the IArray interface which allocates a static number of T values...
size_t max_num_values() const
Maximum number of values which can be stored in this array.
Array(size_t max_num_values)
Constructor: initializes an array which can contain up to max_num_points values.
Array()
Default constructor: empty array.