Allocation failures

Chris Wright via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 16 16:45:35 PST 2016


On Tue, 16 Feb 2016 17:35:02 +0000, Adam D. Ruppe wrote:

> On Tuesday, 16 February 2016 at 17:15:17 UTC, Jardík wrote:
>> But if I couldn't use GC and do all allocations and deallocations
>> manually, I wouldn't even be able to use exceptions and there would
>> also no longer be much reason to write it in D.
> 
> You can use exceptions without the GC and D offers a lot of other things
> too.

Specifically using http://dpldocs.info/search/search?searchTerm=emplace 
to create an exception object in manually allocated memory.


More information about the Digitalmars-d mailing list