std.experimental.collection.functional.slist

ZombineDev via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 18 18:15:07 PDT 2015


On Friday, 19 June 2015 at 01:07:10 UTC, ZombineDev wrote:
> On Thursday, 18 June 2015 at 23:32:03 UTC, Andrei Alexandrescu 
> wrote:
>
> [...]

BTW, for those who want to review this, you actually don't need 
to download the forthcoming allocator modules. You can just 
replace the missing imports with this:

class IAllocator
{
	T* make(T, Args...)(Args args) { return new T(args); }
	void dispose(T)(T* toDelete) { }
}

static IAllocator theAllocator;

static this() { theAllocator = new IAllocator(); }


More information about the Digitalmars-d mailing list