Details
-
Task
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
Description
Some class should store an old value and change it's value to a new/tmp value in ctor, and restore an old value in dtor.
Attachments
Issue Links
- relates to
-
MDEV-22438 add a function similar to std::make_scope_exit()
-
- Closed
-
As a followup note, this code works with gcc 4.8 and it is tested not only by tests, but by bootstrap as well.