[Patch] libstdc++/29989

Doug Gregor dgregor@cs.indiana.edu
Mon Dec 4 18:35:00 GMT 2006


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!

	Cheers,
	Doug



More information about the Libstdc++ mailing list