I do believe, however, that with C++11 this is parsed correctly
Exactly. For example, in gcc (4.7.x and above) you can add "-std=c++11" switch to enable it.