This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

std::rotate returns void for c++11


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]