Blog post: What D got wrong

Kagamin spam at here.lot
Tue Dec 18 15:32:47 UTC 2018


On Monday, 17 December 2018 at 11:04:13 UTC, Atila Neves wrote:
>> Why @safe? Can't you just write "@safe:" on top and switch to 
>> @system/@trusted as needed?
>
> Not quite. It doesn't work the way most people expect for 
> member functions and causes problems for templates.

Don't templates infer attributes? @safe didn't work well for 
trusted aggregates (including inference), not sure if dip1000 
fixes that.


More information about the Digitalmars-d-announce mailing list