`@safe` by default. What about `@pure` and `immutable` by default?

Eugene Wissner belka at caraus.de
Fri Apr 19 13:24:25 UTC 2019


On Friday, 19 April 2019 at 13:09:50 UTC, Seb wrote:
> On Friday, 19 April 2019 at 12:23:08 UTC, Andrei Alexandrescu 
> wrote:
>> pure: @safe:
>
> NOPE. That doesn't work as DMD doesn't set pure for member 
> functions.

And it isn't good for the documentation.


More information about the Digitalmars-d mailing list