------- Comment #21 from paolo dot carlini at oracle dot com 2009-07-27 09:34 ------- Thanks Jason. I'm tentatively recategorizing as libstdc++, then. In general, I'm not at all sure what we should do about it, however, now that Concepts are gone. I don't think we can hope to avoid, here and elsewhere, all the typical problems caused by unconstrained templates. Certainly, having the two separate overloads:
template<typename InputIterator, typename Distance> InputIterator next(InputIterator, Distance); template<typename InputIterator> InputIterator next(InputIterator); would lead to cleaner error messages in case of ambiguities, but I'm not sure we can in general achieve much more than this. -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |libstdc++ http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497