Andrej Mitrovic:

Yeah but it's not always possible to know what the formatting string is. For example, maybe you have an enum array of format strings but a runtime index into this array which you pass to format at runtime.
I've ported C samples before that used this style of formatting.

In some cases the format string is computed at run-time, so it can't be a template argument. A ctWritefln is for the other cases.

Bye,
bearophile

Reply via email to