c++11 alternative