c++ 11 test code