Using Array!T in place of T[] would work, if you don't mind malloc/free. 
Also, overriding new and delete (and delete itself) are going -- relying 
on them is not advisable. Use emplace and clear, instead. 

Reply via email to