[Bug libstdc++/58357] New: In C++11 std::rotate(first, middle, last) now should return a forward iterator to first + (last - middle).
mhcox at bluezoosoftware dot com
gcc-bugzilla@gcc.gnu.org
Sat Sep 7 23:32:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58357
Bug ID: 58357
Summary: In C++11 std::rotate(first, middle, last) now should
return a forward iterator to first + (last - middle).
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: mhcox at bluezoosoftware dot com
According to section 25.3.11, the rotate(first, middle, last) algorithm should
return a forward iterator that points to (first + (last - middle)).
Compiled with -std=c++11.
More information about the Gcc-bugs
mailing list