HeapBlock, array, and clean way


#1

Hello

I need of float array so, in my .h :

...
private:
   HeapBlock<float> data;

and in my init data function :

impulse.calloc(otherFunctionToGetLengthNeeded());

Is it a good way ? is there another cleaner way to do it ?


#2

Seems clean enough to me!


#3

Thank you Jules !