Referencer

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Sat Nov 21 10:18:41 PST 2015


On Friday, 20 November 2015 at 18:48:51 UTC, Alex Parrill wrote:
> * I wouldn't mark this struct as @safe because the passed value 
> may leave scope, causing invalid dereferences.

Interestingly, it's not enough to not mark it as safe: the 
templated methods will still be inferred as @safe. At last the 
price of automatic attribute inference is stated and everyone 
must pay :3


More information about the Digitalmars-d mailing list