C++11 compatibility