Quark
0.1
|
A simple wrapper object for a boolean value which sets the value to true in its constructor and to false in its destructor. More...
#include <ScopedBool.h++>
Public Member Functions | |
ScopedBool (bool &value) | |
Constructs a new ScopedBool for the given value. More... | |
~ScopedBool () | |
Destructor. More... | |
A simple wrapper object for a boolean value which sets the value to true in its constructor and to false in its destructor.
|
inline |
Constructs a new ScopedBool for the given value.
The value is set to true.
|
inline |
Destructor.
Sets the value to false.