Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-01-24 17:01:21


Hugo Duncan <hugoduncan_at_[hidden]> writes:

> 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.

Normally you shouldn't be making general #includes inside a vertical
iteration loop. Why don't you just hoist the include of
<boost/mpl/list.hpp>?

-- 
                       David Abrahams
   dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

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