Make printf safe

IchorDev zxinsworld at gmail.com
Wed Jul 17 08:58:56 UTC 2024


On Saturday, 13 July 2024 at 20:39:32 UTC, Walter Bright wrote:
> The idea is printf is already largely safe:
> [...]

[`@safe` functions cannot perform pointer 
arithmetic](https://dlang.org/spec/function.html#safe-functions), 
but `printf` does because it indexes a `char*` (its first 
parameter).


More information about the dip.ideas mailing list