C++11 compatability