Notes from C++ static analysis
Adam D. Ruppe
destructionator at gmail.com
Wed Jun 26 13:13:29 PDT 2013
On Wednesday, 26 June 2013 at 20:06:43 UTC, H. S. Teoh wrote:
> But if the format string is known at compile-time, and there are
> extraneous arguments, then it should be a warning / error.
We can't do that in D today, unless we do a writefln!"fmt"(args)
in addition to writefln(fmt, args...);
tbh I kinda wish we could overload functions on literals though.
More information about the Digitalmars-d
mailing list