Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-06-19 22:10:01


From: "Aleksey Gurtovoy" <agurtovoy_at_[hidden]>

> 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()

or:

    #define BOOST_PP_FOR_FILE(1, 100, "file.hpp")
    #include BOOST_PP_FOR_BODY()

-Dave


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