Boost logo

Boost :

From: Thomas Witt (witt_at_[hidden])
Date: 2004-02-28 22:05:09


Eric,

Eric Niebler wrote:

>
> This concerns all boost developers. Please read!
>
>
> * If you want to call std::min() or std::max():
>
> o Use (std::min)(a,b) if you do not require argument-dependent
> look-up.
> o Use boost::std_min(a,b) if you do require argument-dependent
> look-up. boost::std_min() delegates to std::min().

I do not get it. IIUC ADL does not apply to a qualified name. I.e.
std::min is just std::min and that's it.

??

Thomas


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