On Tuesday, 11 April 2017 at 22:32:51 UTC, Martin Nowak wrote:
On Monday, 10 April 2017 at 08:31:28 UTC, Atila Neves wrote:
import std.experimental.allocator.mallocator;
UniqueArray!(int, Mallocator) a;
a ~= [0,1];

So the difference between std.container.Array and UniqueArray is that the latter supports allocators?

That's the general idea, but I confess I didn't even look at Array.


Reply via email to