
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Andrei Alexandrescu (See Website For Email)
And sometimes, I think, it's _the only_ way. If you are interested, please take a look at typeof_internals.htm.zip in the boost sandbox file vault.
The only way as long as you commit to not look outside C++.
Which is the whole point from a library perspective. Relying on awk (or any other external tool) to write C++ isn't so bad, but relying on it to compile C++ is unacceptable.
There are plenty of text manipulation tools outside C++ that offer what could be done with the C++ preprocessor with programming paradigms that I consider unworthy of learning.
Frankly, without knowing them, you aren't in a position for your opinion to be worth anything. You're a smart guy, Andrei, so the learning curve shouldn't be too difficult for you. Why don't you learn those paradigms and then decide whether they are "worthy" instead of making blanket statements based on nothing? Regards, Paul Mensonides