some c++ hacking I did around the release of C++11