"Giovanni Bajo" <[EMAIL PROTECTED]> writes:

| Mark Mitchell <[EMAIL PROTECTED]> wrote:
| 
| > IMO, if these are C++-only, it's relatively easy to deprecate these
| > extension -- but I'd like to hear from Jason and Nathan, and also the
| > user community before we do that.  Of all the extensions we've had, this
| > one really hasn't been that problematic.
| 
| I would prefer them to stay. My reasons:
| 
| 1) std::min() and std::max() are not exact replacements. For instance, you
| cannot do std::min(3, 4.0f) because the arguments are of different type.

That is a rather weak argument.  What is the type of the argument if
it were possible? If float, why can't you write 3f?  If int, why can't
you write 4?  With the ominpresence of function templates and the
rather picky template-argument deduction process, how useful is that
fuzzy-typed constructs with rather dubious semantics and implementation?

I would like to see those extensions deprecated and go with no return.

-- Gaby

Reply via email to