Boost logo

Boost :

From: Neal D. Becker (nbecker_at_[hidden])
Date: 2003-10-03 14:36:16

This test program:

#include <boost/numeric/ublas/traits.hpp>

Produces this on gcc
g++ -c -g -Wall -O3 -march=athlon-xp -mcpu=athlon-xp -mfpmath=sse -m3dnow
-I../../uwp/src/float -I../../uwp/src/fixed -I../../uwp/src/boost
-I../../frontend/src -o Testp.o ../Test/ -Wp,-MMD,.d/Testp.d
In file included from ../Test/
../../uwp/src/boost/boost/numeric/ublas/traits.hpp:1363: ISO C++ forbids
   declaration of `forward_iterator_base' with no type
../../uwp/src/boost/boost/numeric/ublas/traits.hpp:1363: template-id `
   forward_iterator_base<std::forward_iterator_tag, I, T>' used as a
../../uwp/src/boost/boost/numeric/ublas/traits.hpp:1363: parse error before
[.. lots more errors]

This is boost-1.30.2,, gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5).

I want to use traits standalone. Is it not intended to be used this way, or
is this a bug?

Boost list run by bdawes at, gregod at, cpdaniel at, john at