From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2003-04-10 22:53:01
Aleksey Gurtovoy wrote:
> Giovanni Bajo wrote:
>> Otherwise I suppose one could use Wave has an external PP and feed
>> data to whatever compiler you want, including Comeau.
> To put things into prospective, if one is to go this route, she can as
> well just implement built-in PP-lambda support in the Wave itself, and
> get whatever syntax she wants, e.g.
Yes, in fact Wave already supports a pragma (including the inline _Pragma
variant) that can call external programs and capture stdout. So this would be
> The only caveat is that it wouldn't be C++ anymore (nor C++ + C99).
And that takes all the fun out of it. pp-metaprogramming and indeed template
metaprogramming, given the current language, is all about _manipulation_ of the
language. If you take that away, it is still very useful, but not as
"creative", therefore, not as fun. ;)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk