template<class T>
Magnum::Trade::ArrayAllocator struct new in Git master

Growable array allocator to be used in importer plugins.

Compared to Corrade::Containers::ArrayMallocAllocator ensures that the Array deleter function pointer is defined in the Trade library and not in the plugin binary itself, avoiding dangling function pointer call when the data array is destructed after the plugin has been unloaded. Other than that the behavior is identical.