c++11 switchover