
5 May
2005
5 May
'05
1:42 a.m.
Edward Diener wrote:
Paul Mensonides wrote:
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Andrei Alexandrescu (See Website For Email)
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.
One does not rely on the preprocessor to compile C++. Andrei's argument was that these tools can be used to create C++ code, not compile them.
The point is that when a library uses macros in its public interface, the code generation takes place when the library user's code is compiled. Jonathan