rollback std c++