Boost logo

Boost Users :

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


On Tue, Dec 23, 2008 at 09:11, Max <loadcom_at_[hidden]> wrote:
>
> I'm not sure what you mean by ADL?
>

http://en.wikipedia.org/wiki/Argument_dependent_name_lookup

In short, I'm suggesting using name lookup and overload resolution to
find the correct abs function for the type, rather than using a
template to generate one.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net