This is the mail archive of the
mailing list for the libstdc++ project.
Re: [Patch] libstdc++/29989
Doug Gregor <email@example.com> writes:
| On Dec 4, 2006, at 1:27 PM, Gabriel Dos Reis wrote:
| > Doug Gregor <firstname.lastname@example.org> 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.
I'm strongly in favor of #undef -- until we have #nospam.