This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] libstdc++/29989



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]