A class template primarily useful for flags, that has a defined value at default initialization. More...
#include <osvr/Util/DefaultBool.h>
Public Member Functions | |
| DefaultBool () | |
| Default constructor, initializes value to specified default. | |
| operator bool () const | |
| Explicit conversion to bool. | |
| DefaultBool & | operator= (bool val) |
| Assignment from a bool. | |
| void | reset () |
| Restore the default value. | |
A class template primarily useful for flags, that has a defined value at default initialization.
Definition at line 41 of file DefaultBool.h.