Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2002-06-19 21:56:29


Paul Mensonides wrote:
> #define BOOST_PP_BOUND 1
> #include BOOST_PP_SET_LBOUND()
>
> #define BOOST_PP_BOUND 100
> #include BOOST_PP_SET_UBOUND()
>
> #define BOOST_PP_FILENAME_1 "file.hpp"
> #include BOOST_PP_ITERATE()

A thought - can the interface be something like this:

    #define BOOST_PP_ITERATION_LIMITS (1, 100)
    #define BOOST_PP_FILENAME_1 "file.hpp"
    #include BOOST_PP_ITERATE()

or, better yet,

    #define BOOST_PP_ITERATION_PARAMS (1, 100, "file.hpp")
    #include BOOST_PP_ITERATE()

?

Aleksey


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