Incomplete idea for @safe enhancement
RazvanN
razvan.nitu1305 at gmail.com
Thu Apr 25 06:26:43 UTC 2019
On Thursday, 25 April 2019 at 03:32:03 UTC, Nick Sabalausky
(Abscissa) wrote:
> 'Know what I think would be helpful (just because I ran into a
> case just now where it would help me)...?
>
> [...]
There are situations where you do not have access to the function
body, so the compiler cannot assess whether the @system function
you are calling is actually
@system.
The easiest way to achieve what you desire is to make @safe
default.
More information about the Digitalmars-d
mailing list