Sneak preview into std.allocator's porcelain

Brian Schott via Digitalmars-d digitalmars-d at puremagic.com
Thu May 7 02:18:50 PDT 2015


On Thursday, 7 May 2015 at 02:28:45 UTC, Andrei Alexandrescu 
wrote:
> http://erdani.com/d/phobos-prerelease/std_experimental_allocator_porcelain.html
>
> Andrei

*Reads module name* "...toilets? Oh. Wait. This is is allocator 
stuff."

Looks like there's a macro expansion problem in makeArray's 
"Throws:" section.

IAllocator.empty and IAllocator.zeroesAllocations, 
CAllocatorImpl.impl, CAllocatorImpl.empty, and 
CAllocatorImpl.zeroesAllocations are missing @property.

Can we get a different name for "kill"? That makes me think of 
processes. How about "dispose"?


More information about the Digitalmars-d mailing list