Fear of Compiler Magic

Nick Treleaven nick at geany.org
Mon Aug 5 12:50:08 UTC 2024


On Monday, 5 August 2024 at 11:14:44 UTC, Quirin Schroll wrote:
> And it’s why I suggested using `__printf` instead. It can be an 
> intrinsic (a keyword even), and be specified to require a 
> compile-time constant string as its first argument, i.e. a 
> string literal or something synthesized by CTFE, but nothing 
> run-time.

It's not just about C's `printf` - see:
https://forum.dlang.org/post/igrcbbodmkilderxxjwq@forum.dlang.org


More information about the Digitalmars-d mailing list