Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-05-05 07:37:23


"Joe Gottman" <jgottman_at_[hidden]> wrote in message
news:d5bl1k$lom$1_at_sea.gmane.org...
| MSVC 6.0 gives an internal compiler error when I include the following
| headers in the order below:
|
| #include <boost/array.hpp>
| #include <boost/range.hpp>
|
| The reason for this ICE (besides MSVC 6.0 being a non-conformant
| compiler) is the fact that several files in the boost/range/ subdirectory
| declare functions having a parameter called "array". It seems that MSVC has
| problems realizing that this is the name of a new variable, not an already
| existing class. When I renamed these parameters everything compiled fine.
| Would it be possible to change these parameters to a name that isn't the
| name of a boost class, something like c_array maybe?

I think it would :-)

A few days ago I had a similar problem becuase I used a class class Derived in
my regression tests...that collided with a template parameter
in the iterator library.

I'll change the parameter names ASAP.

-Thorsten


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