20#ifndef INCLUDED_COMPHELPER_FLAGGUARD_HXX
21#define INCLUDED_COMPHELPER_FLAGGUARD_HXX
53 template <
typename T1>
57 i_valRef = std::forward<T1>(i_temporaryValue);
FlagGuard(bool &i_flagRef)
ScopeGuard to ease writing exception-safe code.
ValueRestorationGuard(T &i_valRef, T1 &&i_temporaryValue)
ValueRestorationGuard(T &i_valRef)
ValueRestorationGuard< bool > FlagRestorationGuard
ValueRestorationGuard_Impl(T &i_valRef)