On 6/8/16 1:59 PM, Nick Treleaven wrote:I wonder if Andrei's allocator API supports freeing with a size argument.Size is required with all deallocations. -- Andrei
Thanks. So I suppose it's up to each allocator whether this will work or not:
alloc.makeArray!T(5).ptr.Alias!(p => alloc.dispose(p)); I guess it would work for Mallocator.
