RAII-style utility class to set a Context 's enabled state and have it restored at the end of the current scope block.
Constructs an object that will store context's enabled state and restore it at the end of the current scope.
Constructs an object that will set context's enabled state to enable and restore it to the original state at the end of the current scope.