Notes from C++ static analysis

Andrej Mitrovic andrej.mitrovich at gmail.com
Thu Jun 27 06:11:41 PDT 2013


On 6/27/13, Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
> NO! This is exactly the kind of code that is buggy and useless. The
> right use cases involve more arguments than format specifiers.

I mistyped that, I meant:

format("%s", 1, 2);  // no exceptions in future release
safeFormat("%s", 1, 2);  // exception thrown


More information about the Digitalmars-d mailing list