Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Wave crippling
From: anony (janezz55_at_[hidden])
Date: 2010-06-20 16:06:14


On 06/20/10 20:54, Steven Watanabe wrote:
> // a.hpp
> #ifndef BOOST_PP_IS_ITERATING
> #include <boost/preprocessor/iteration/iterate.hpp>
> #define BOOST_PP_FILENAME_1 "a_impl.hpp"
> #define BOOST_PP_ITERATION_LIMITS (1, 10)
> #include BOOST_PP_ITERATE()
> #else
> // ...
> #endif

Macro expansion is not allowed so such a construct would not work.
Macros are not allowed in the #include directives.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net