mrdocs::ScopeExitRestore::ScopeExitRestore
Constructors
Synopses
Declared in <mrdocs/Support/ScopeExit.hpp>
Restore ref to its previous value when the scope ends
explicit
ScopeExitRestore(T& ref);
Temporarily set ref to next and restore it when the scope ends
template<std::convertible_to<T> T2>
explicit
ScopeExitRestore(
T& ref,
T2 next);
Created with MrDocs