
29 Feb
2004
29 Feb
'04
3:35 a.m.
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Thomas Witt
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.
You have to do it to prevent macro expansion from a definition like this: #define min(x, y) ((x) < (y) ? (x) : (y)) std::min(1, 2) // std::((1) < (2) ? (1) : (2)) (std::min)(1, 2) // (std::min)(1, 2) Regards, Paul Mensonides