Discussion Thread: DIP 1028--Make @safe the Default--Final Review

Timon Gehr timon.gehr at gmx.ch
Wed Apr 8 19:32:02 UTC 2020


On 08.04.20 21:19, Steven Schveighoffer wrote:
> 
> ---
> module a;
> extern(C) void perfectly_safe @safe {
>   // ...
> }
> ---
> ---
> module b;
> extern(C) void perfectly_safe() @safe;
> ---


---
module a;
extern(C) size_t perfectly_safe @safe {
  // ...
}
---
---
module b;
extern(C) int* perfectly_safe() @safe;
---


More information about the Digitalmars-d mailing list