This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
std::rotate returns void for c++11
- From: Keith Erickson <kerickso at pppl dot gov>
- To: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Wed, 2 Oct 2013 15:10:05 -0400
- Subject: std::rotate returns void for c++11
- Authentication-results: sourceware.org; auth=none
http://en.cppreference.com/w/cpp/algorithm/rotate
That says that for C++11, rotate should return an iterator. However,
I am seeing it still return void, on gcc 4.8.1. Am I using g++ wrong?