Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2000-04-27 06:54:17


>abs() was the big problem for MSVC, too. I don't know if the version there
at the moment could be said to really work in any case. I'll look at your
version and think some more. (The big problem with MSVC was that I could
never work out what MSVC behaviour was buggy - your analysis might help me
understand better...)

I've just double checked the standard and you're current version of abs is

 friend rational abs(const rational& r);

declares a non-template friend (see examples).

As to what it should be..... :-)

- John.

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