Should writef try to statically check for format specifiers?

Andrej Mitrovic andrej.mitrovich at gmail.com
Tue Apr 12 10:27:08 PDT 2011


I thought templated functions can be called without a bang if an
argument can be deduced to be available at compile time. I know I've
read about this somewhere, either TDPL or the docs. So I thought that
writef checks the string literal at compile time, not runtime.

Template shenanigans..


More information about the Digitalmars-d-learn mailing list