You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
-
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.Community– Community Bot2022年06月06日 09:17:15 +00:00Commented Jun 6, 2022 at 9:17
-
This especially helps, if you would revert lots of changes, if it does not succeed. It would make sense to bundle those variables in a class or struct and make a copy of all of them like a transaction). This case probably is simpler.Sebastian– Sebastian2022年06月06日 09:22:42 +00:00Commented Jun 6, 2022 at 9:22
lang-cpp