Kanzi Framework  3.9.0
Kanzi Engine API
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

◆ FlagScopeGuard()

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

Constructor.

Parameters
flagflag which to set and unset.

◆ ~FlagScopeGuard()

template<bool FlagValue>
kanzi::FlagScopeGuard< FlagValue >::~FlagScopeGuard ( )
inline

Destructor.


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