Discussion Thread: DIP 1028--Make @safe the Default--Final Review
Timon Gehr
timon.gehr at gmx.ch
Wed Apr 8 19:44:14 UTC 2020
On 08.04.20 21:37, Steven Schveighoffer wrote:
> On 4/8/20 3:32 PM, Timon Gehr wrote:
>> ---
>> module a;
>> extern(C) size_t perfectly_safe @safe {
>> // ...
>> }
>> ---
>> ---
>> module b;
>> extern(C) int* perfectly_safe() @safe;
>> ---
>
> ---
> module a;
> extern(C) size_t perfectly_safe @safe {
> // ...
> }
> ---
> ---
> module b;
> extern(C) int* perfectly_safe() @trusted;
> ---
>
> No difference. Same result.
>
> -Steve
This is a waste of time.
More information about the Digitalmars-d
mailing list