Boost logo

Boost :

From: Hugo Duncan (hugoduncan_at_[hidden])
Date: 2003-01-24 16:00:06


I think I have found a problem with boost/mpl/list.hpp

I am including files using BOOST_PP_ITERATE. One of the files
that I include happens itself to include boost/mpl/list.hpp.

boost/mpl/list.hpp begins

  #if !defined(BOOST_PP_IS_ITERATING)
  ///// header body
  #ifndef BOOST_MPL_LIST_HPP_INCLUDED
  #define BOOST_MPL_LIST_HPP_INCLUDED

Because I am using BOOST_PP_ITERATE, BOOST_PP_IS_ITERATING is defined,
and problems occur.

I assume BOOST_PP_IS_ITERATING is checked for logic associated with
preprocessed file generation. Is it possible to combine the check
with a library macro that is defined when preprocessed files are
generated ?

Hugo


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