std.experimental.allocator.make should throw on out-of-memory
Alex Parrill via Digitalmars-d
digitalmars-d at puremagic.com
Wed Apr 20 11:08:39 PDT 2016
On Wednesday, 20 April 2016 at 18:07:05 UTC, Alex Parrill wrote:
> Yes, enforce helps (and I forgot it reruns its argument), but
> its still boilerplate, and it throws a generic "enforcement
> failed" exception instead of a more specific "out of memory"
> exception unless you remember to specify your own exception or
> message.
s/rerun/return/
More information about the Digitalmars-d
mailing list