Rollback using c++11 features