On Friday, 17 July 2015 at 18:23:58 UTC, jmh530 wrote:
On Friday, 17 July 2015 at 16:40:56 UTC, Jonathan M Davis wrote:
However, it has way too many holes in it still, because we've
blacklisted rather than whitelisted
Not being a fan of constantly writing these attributes, I had
been thinking a month or so ago that it would be cool if you
could just specify defaults for the function attributes on a
module-by-module basis. However, it's pretty easy to just set
something similar up using the existing language features.
Yes, and in case you don't know yet, you don't even need braces:
module test;
@safe:
// everything from here on is @safe