[Patch] libstdc++/29989

Gabriel Dos Reis gdr@integrable-solutions.net
Mon Dec 4 18:43:00 GMT 2006


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



More information about the Libstdc++ mailing list