Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2003-04-10 22:30:24


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.

    BOOST_PP_REPEAT(
          5
        , BOOST_PP_CAT(#2, #1) = #1
        , int x
        )

The only caveat is that it wouldn't be C++ anymore (nor C++ + C99).

Aleksey


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