std.allocator ready for some abuse

Namespace rswhite4 at googlemail.com
Thu Oct 24 14:38:54 PDT 2013


On Thursday, 24 October 2013 at 21:31:42 UTC, Namespace wrote:
> Awesome! Will Appender get an option to use a suitable 
> allocator?

A dream of me, that will probably never come true, would be also 
something like this:
----
with (Mallocator) {
     int[] arr;
     arr ~= 42; /// will use Mallocator.it.allocate internal
}
----


More information about the Digitalmars-d mailing list