Deprecating min/max extension in C++
Gabriel Dos Reis
gdr@integrable-solutions.net
Wed Mar 9 16:55:00 GMT 2005
"Giovanni Bajo" <rasky@develer.com> writes:
| Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:
|
| >> Because the example was just an example. In real code, "3" is probably a
| >> variable of integer type, and "4.0f" is probably a variable of floating
| >> point type.
| >
| > Which we have not seen yet, for the purpose of assessing the purpoted
| > usefulness in real codes. Arguments are easily made with xyz examples.
|
|
| Are you disputing the usefulness of promotion rules with operators? If you
I'm disputing the extensions <? and >? when we have a standard
min()and max().
-- Gaby
More information about the Gcc
mailing list