And I'm not sure that will compile either since you can't call a function outside of a function body unless it is as an initializer for a global or static object... unless that's new in C++11
This does indeed compile, at least with the inofficial VS november 2012 compiler with extended c++11 support. Didn't know about that restriction though, but might really be c++11.