17 Mar
2015
17 Mar
'15
11:22 p.m.
[Peter Dimov]
The problem here is that on compilers that don't support rvalue references, the code works, and on those that do, it fails. It's a bit of an annoyance.
Compilers that don't support rvalue references? Such things don't exist. :-> Speaking as someone who's worked on a Standard Library through the TR1/0x/11/14 upgrade process, I've observed that users are far more likely to complain that their movable-only types aren't being respected, than that their old code is failing to compile. STL