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

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Sat May 16 11:24:51 PDT 2015


On 2015-05-16 11:20, Jacob Carlborg wrote:

> Per-allocated? The same way as out of memory is handled in the runtime.

To avoid confusion, that should have been "pre-allocated".

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list