------- Comment #2 from paolo dot carlini at oracle dot com 2009-09-14 09:32
-------
Indeed, I agree with most of the points Chris is making, in particular I find
extremely important the point about stable_partition. I only want to add that
in principle in this specific case, dispatching to an overload using only swaps
(like the one for bidirectional iter) for any type != scalar for example would
be of course trivial. For sure there would be border cases in which we would
regress performance-wise. Do we have any idea what other implementations are
doing here? In particular stlport for example, which also inherited the
original HP/SGI three overloads.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paolo dot carlini at oracle
| |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41351