std.allocator.allocate(0) -> return null or std.allocator.allocate(1)?

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri May 15 09:37:27 PDT 2015


On 5/15/15 9:36 AM, Andrei Alexandrescu wrote:
> Anyhow, on to D.

To clarify: I want to request all allocators to return null if asked for 
zero bytes. -- Andrei


More information about the Digitalmars-d mailing list