@safe(bool)

Moritz Maxeiner via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 17 09:39:12 PDT 2017


On Thursday, 17 August 2017 at 16:32:20 UTC, bitwise wrote:
> The only problem would be the lack of actual @safe annotations 
> on the container, as they would only be applicable to one 
> variant, and otherwise cause a compile-time error.
> [...]

Shouldn't the already compiler derive the appropriate attributes 
(@safe/@system, @nogc) for functions inside templates?


More information about the Digitalmars-d mailing list