------- Comment #17 from paolo dot carlini at oracle dot com 2009-07-26 14:46 ------- Maybe Jason can help confirming that we don't have a C++ issue here?!? In that case, however, since Concepts are gone, I think we should probably file a library DR or raise the issue vs the rolled-back Draft. Opinions about that?
Anyway, something consistent with the C++03 advance, would be probably ok, in a non-Concepts context: template<typename _InputIterator, typename _Distance> inline _InputIterator next(_InputIterator __x, _Distance __n = 1) { std::advance(__x, __n); return __x; } I'm thinking of changing the libstdc++ code like this, for now, instead of removing it completely to be safe. -- paolo dot carlini at oracle dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497