6

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.

manlio
  • 18,345
  • 14
  • 76
  • 126
Tomilov Anatoliy
  • 15,657
  • 10
  • 64
  • 169

1 Answers1

5
  • 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.
101010
  • 41,839
  • 11
  • 94
  • 168