Re:Zeroing Memory is Hard: VC++ 2015 arrays
by SeanBoocock on Monday July 18, 2016 @08:30PM
(#12118790)
This is true but at least with the current standard you will want to define a custom deleter with your unique_ptr to implement "delete [] data" vs the default behavior of "delete data".
You can use it with std::unique_ptr<> to simplify memory management.