C++11 sample now works