libUTL++
utl::BoolToggle Class Reference

Toggle a boolean value RAII-style. More...

#include <util_inl.h>

Public Member Functions

 BoolToggle (bool &b)
 Constructor. More...
 
 ~BoolToggle ()
 Destructor. More...
 

Detailed Description

Toggle a boolean value RAII-style.

Definition at line 18 of file util_inl.h.

Constructor & Destructor Documentation

◆ BoolToggle()

utl::BoolToggle::BoolToggle ( bool &  b)
inline

Constructor.

Definition at line 22 of file util_inl.h.

◆ ~BoolToggle()

utl::BoolToggle::~BoolToggle ( )
inline

Destructor.

Definition at line 29 of file util_inl.h.


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