Allocation failures

Marc Schütz via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 17 10:01:31 PST 2016


On Wednesday, 17 February 2016 at 01:09:20 UTC, Adam D. Ruppe 
wrote:
> On Wednesday, 17 February 2016 at 00:45:35 UTC, Chris Wright 
> wrote:
>> http://dpldocs.info/search/search?searchTerm=emplace to create 
>> an exception object in manually allocated memory.
>
> Aye, this overload: 
> http://dpldocs.info/experimental-docs/std.conv.emplace.3.html
>
> though the example there is awful, wtf is it even trying to 
> show?

I guess it is primarily supposed to be a unittest to verify that 
emplace works with interfaces...


More information about the Digitalmars-d mailing list