[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tidbit for C++ library hackers...

I recently found this tool. This is magic, for everyone that wished that
C++ did this one little thing more or better...


It is a C++ preprocessor that uses plugins written in C++ to massage the
code before giving it to the compiler. It is very well done, and by
itself has zero runtime overhead (if you just use it by itself, it just
pass the code to the C++ compiler without any change).

You can add warnings/errors to the compiler, automatically add a
getClassName method to all classes (never forget it again!), and so on.

You'll see, this is pure magic! :-)

Pierre Phaneuf
Ludus Design, http://ludusdesign.com/
"First they ignore you. Then they laugh at you.
Then they fight you. Then you win." -- Gandhi