This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] libstdc++/29989
Doug Gregor <dgregor@cs.indiana.edu> writes:
| On Dec 4, 2006, at 1:27 PM, Gabriel Dos Reis wrote:
|
| > Doug Gregor <dgregor@cs.indiana.edu> writes:
| >
| >
| > [...]
| >
| > | To use min or max in the library, we write, e.g.,
| > |
| > | min BOOST_PREVENT_MACRO_SUBSTITUTION (x, y)
| >
| > Oh, please no.
|
| That was my reaction, too. But, we can't parenthesize the names in
| calls to "min", because that also disables argument-dependent lookup.
| Gaaa!
Yes, indeed.
I'm strongly in favor of #undef -- until we have #nospam.
-- Gaby