A class that sets a boolean variable to false at the end of its scope.
More...
#include <gscope.h>
A class that sets a boolean variable to false at the end of its scope.
Eg:
{
...
}
ScopeExitSetFalse(bool &bref) noexcept
Constructor.
Definition at line 79 of file gscope.h.
◆ ScopeExitSetFalse()
G::ScopeExitSetFalse::ScopeExitSetFalse |
( |
bool & |
bref | ) |
|
|
inlineexplicitnoexcept |
◆ ~ScopeExitSetFalse()
G::ScopeExitSetFalse::~ScopeExitSetFalse |
( |
| ) |
|
|
inlinenoexcept |
Destructor, sets the bound value to false.
Definition at line 124 of file gscope.h.
The documentation for this class was generated from the following file:
- /usr/src/slapt-src-x86_64/network/emailrelay/emailrelay-2.3/src/glib/gscope.h