On 6/27/13, Adam D. Ruppe <destructiona...@gmail.com> wrote: > I think if there's going to be a new function anyway, it might as > well be more like the ctFormat bearophile mentioned, and check it > at compile time.
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.