From: Jonathan Wakely (cow_at_[hidden])
Date: 2004-08-23 05:19:13
On Mon, Aug 23, 2004 at 11:48:17AM +0200, Bronek Kozicki wrote:
> Michael Stevens wrote:
> >The problem appears to be the old std::abs is not defined for built in
> >I sure the problem will non exist for ever in the Comeau library. It
> >could also be due to the --vc71 compatibility flag being set.
> again me :) This error goes away if you #include <cstdlib> in
> boost/numeric/ublas/traits.hpp (see attached patch) , no need to update
> boost/boost/numeric/ublas/config.hpp .
> I've checked in standard (ISO/IEC 14882:2003, clause 26.5) and it seems
> that both headers <cstdlib> and <cmath> are required to have full set of
> overloads of std::abs (I asked on comp.std.c++ if it's intended). Anyway
> I will send support request to Comeau asking about absence of float
> version in <cmath> .
although that's not actually related, it just seems to be at first
-- "Everything to excess! To enjoy the flavor of life, take big bites. Moderation is for monks." - Robert Heinlein
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk