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.