Emplace vs closures

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 19 07:22:16 PDT 2016


On 9/19/16 7:27 AM, Lodovico Giaretta wrote:

> What I'd like to know: is this usage widespread? Should we forbid it for
> the sake of security?

No. There is no security concern here. You are dereferencing a null 
pointer, which is perfectly safe.

-Steve


More information about the Digitalmars-d mailing list