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]

Re: std::rotate returns void for c++11


On 2 October 2013 20:10, Keith Erickson wrote:
> 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?


No, that change simply hasn't been implemented yet. Please file a bug
report at http://gcc.gnu.org/bugzilla/ to ensure it gets dealt with.


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