Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-06-14 17:14:06


On 06/10/2005 10:40 AM, Larry Evans wrote:
[snip]
> On 06/10/2005 09:47 AM, Tobias Schwinger wrote:
> Great! However, I think there may be a problem with some of the files
> in boost/mpl/aux_/preprocessed/ being able to handle enumeration values
> rather than numbers. For example, in:
>
> boost/mpl/aux_/preprocessed/gcc/vector_c.hpp
>
> I had to, by hand, replace each:
>
> vectorX_c< T,C0 >
>
> where X is some number=1...SomeMaxValue, with:
>
> vectorX_c< T,T(C0) >
>
> to get the program to compile when C0 is an element in an enumeration.
> I'll go ahead and just upload the file to the sandbox.

Rather than upload individual files for each subdirectory of
aux_/preprocessed/, I changed the file:

   boost/mpl/aux/sequence_wrapper.hpp

at about line 127 to what's described in:

   http://article.gmane.org/gmane.comp.lib.boost.devel/126075

To make the changes effective, in:

   libs/mpl/preprocessed

do:

   python preprocess.py all $(BOOST_ROOT) vector_c.cpp

HTH.

-Regards,
Larry


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