Notes from C++ static analysis

Adam D. Ruppe destructionator at gmail.com
Thu Jun 27 06:14:07 PDT 2013


On Thursday, 27 June 2013 at 13:11:55 UTC, Andrej Mitrovic wrote:
> I mistyped that, I meant:
>
> format("%s", 1, 2);  // no exceptions in future release
> safeFormat("%s", 1, 2);  // exception thrown

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.


More information about the Digitalmars-d mailing list