Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-04-11 02:42:55

"Paul Mensonides" <pmenso57_at_[hidden]> writes:

> Yes, and Wave is a great tool for pp-metaprogramming. It includes a great
> tracing facility and the ability to enable variadics and placemarkers in C++.
> You can also enable the inline _Pragma from C99 and do isolated pp debugging:
> #define A(x) \
> _Pragma("wave trace(enable)") B() \
> _Pragma("wave trace(disable)") C() \
> This will only trace the expansion of B. This is a great facility! On the same
> debugging front, Wave has another _Pragma to cause a full stop and emit a
> user-defined error message--all subject to macro expansion of course (which is
> why it is important for debugging.) Wave is a great tool that is getting better
> every day.

One great thing about this is that we can integrate the construction
and use of wave into our build process, so that the strict PP lib can
be used with any compiler with wave as a front-end.

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at