24 #ifndef ARM_COMPUTE_ARRAY_H 25 #define ARM_COMPUTE_ARRAY_H 41 :
IArray<T>(0), _values(nullptr)
49 :
IArray<T>(max_num_values), _values(
std::make_unique<T[]>(max_num_values))
60 std::unique_ptr<T[]> _values;
T * buffer() const override
Pointer to the first element of the array.
Copyright (c) 2017-2021 Arm Limited.
Basic implementation of the IArray interface which allocates a static number of T values...
Array(size_t max_num_values)
Constructor: initializes an array which can contain up to max_num_points values.
Array()
Default constructor: empty array.
size_t max_num_values() const
Maximum number of values which can be stored in this array.