kanzi::FlagScopeGuard< FlagValue > Class Template Reference

#include <kanzi/core/util/flag_scope_guard.hpp>

Public Member Functions

 FlagScopeGuard (bool &flag)
 Constructor. More...
 
 ~FlagScopeGuard ()
 Destructor. More...
 

Constructor & Destructor Documentation

template<bool FlagValue>
kanzi::FlagScopeGuard< FlagValue >::FlagScopeGuard ( bool &  flag)
inlineexplicit

Constructor.

Parameters
flagflag which to set and unset.
template<bool FlagValue>
kanzi::FlagScopeGuard< FlagValue >::~FlagScopeGuard ( )
inline

Destructor.


The documentation for this class was generated from the following file: