Boost logo

Boost :

From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2003-06-26 12:19:44


> The nice thing about the implementation is that it is layered
> on-top of the existing BOOST_PP _ macros like BOOST_PP_WHILE.
> So it doesn't require modifications to the existing library,
> and none of the definitions are more that a few lines long.
> All the functions live in the namespace BOOST_PP_VA_.

A bit more on this part, the problem with implementing an algorithm on
top of another algorithm like you do in your code, is that it makes the
algorithm incapable of recursing in contexts where the algorithm calls
some user-defined macro, such as a predicate or operation.

Regards,
Paul Mensonides


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk