Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

std::rotate return value in gcc 4.9

Is it bug, that std::rotate function have void return value type in GCC 4.9 even if I specify -std=gnu++1y flag? As it pointed here there should be meaningfull (for some applications) return value.

like image 959
Tomilov Anatoliy Avatar asked Jun 02 '14 11:06

Tomilov Anatoliy


1 Answers

  • It looks like std::rotate in gcc doesn't conform to the C++11 standard (i.e., it's not implemented yet).
  • I searched GCC Bugzilla and it seems that the bug is already reported since version 4.8.1 and currently being unassigned with status new.
  • Thus, is a bug. Well spotted you should report it.
like image 141
101010 Avatar answered Oct 22 '22 00:10

101010