HeapBlock, array, and clean way

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 ?

Seems clean enough to me!

Thank you Jules !