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: Minimum/maximum operators are deprecated?


Am Samstag 10 September 2005 14:08 schrieben Sie:

> > Is there a reason?
>
> It was an ill-defined and poorly maintained language extension that was
> broken in many cases.  Proper replacements exist in standard C++:

I am well aware of std::min/max. But they are not what I would call a 'proper 
replacement', but that probably depends from the point of view.

I just hit an ICE when it comes to overwriting those operators. Maybe nobody 
has ever tried to do this before :-) So there is probably no point in 
submitting a bug report?

Gunther


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