* std::rotate returns void for c++11
@ 2013-10-02 19:10 Keith Erickson
2013-10-02 19:21 ` Jonathan Wakely
0 siblings, 1 reply; 2+ messages in thread
From: Keith Erickson @ 2013-10-02 19:10 UTC (permalink / raw)
To: gcc-help
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: std::rotate returns void for c++11
2013-10-02 19:10 std::rotate returns void for c++11 Keith Erickson
@ 2013-10-02 19:21 ` Jonathan Wakely
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2013-10-02 19:21 UTC (permalink / raw)
To: Keith Erickson; +Cc: gcc-help
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-02 19:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-02 19:10 std::rotate returns void for c++11 Keith Erickson
2013-10-02 19:21 ` Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).