Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-02-02 06:05:41


> The recent changes to the type_traits library break our Boost.Python
> builds under IRIX, using the old MIPSpro 7.3.1 compiler. This compiler
> is based on EDG 238. The problem is illustrated by this simple piece
> of code:
>
> template <class T>
> struct is_signed_helper
> {
> static const bool value = (static_cast<T>(-1) < 0);
> };

Just when I thought I had got away with that update!

I take it changing the static_cast to a C style cast doesn't do the job?

John.


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