Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 1999-12-10 03:07:13


There is a std::abs() template function, for the complex class.
Therefore it is both legal to put the rational abs() function in the
std namespace and highly recommended since a generic algorithm should
be able to use std::abs() on any numeric type including user defined
types.

Cheers,

Jeremy


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