Boost logo

Boost :

From: J. van der Wulp (jwulp_at_[hidden])
Date: 2008-07-14 11:31:01


Hello everyone,

There seems to be a problem with using Boost.Integer in combination with
anything that uses boost/detail/numeric_traits.hpp (development). The
latter also defines a struct with name integer_traits that is not
compatible with the one declared in Boost.Integer.

The problem can be reproduced by including
boost/graph/adjacency_list.hpp first and boost/integer.hpp as in:

#include <boost/graph/adjacency_list.hpp>
#include <boost/integer.hpp>

int main() {
   return 0;
}

Swapping the include directives avoids the problem.

Regards,

Jeroen van der Wulp


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