OSVR-Core
|
A class template primarily useful for flags, that has a defined value at default initialization. More...
#include <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.