|
Boost : |
From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-05-04 20:42:45
Edward Diener wrote:
> Paul Mensonides wrote:
>>> -----Original Message-----
>>> From: boost-bounces_at_[hidden]
>>> [mailto:boost-bounces_at_[hidden]] 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk