Subject: Re: [Boost-users] [STL] Is there a std::abs<>() function?
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2008-12-23 19:56:05


On Tue, Dec 23, 2008 at 19:34, Max <loadcom_at_[hidden]> wrote:
>
> Yes, there exist several overloads of abs() functions or similar
> but some of them with different name, say fabs, fabsf, etc.
> This make it impossible to use it in generic code.
>

With the C++ headers, they're all available as std::abs (26.5 [lib.c.math]).