This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Deprecating min/max extension in C++


"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


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