25 #ifndef INCLUDED_DefaultBool_h_GUID_3AFC9D48_7BCD_4AAD_CC67_E3FE744CF724
26 #define INCLUDED_DefaultBool_h_GUID_3AFC9D48_7BCD_4AAD_CC67_E3FE744CF724
47 explicit operator bool()
const {
return m_val; }
56 void reset() { m_val = DefaultValue; }
64 #endif // INCLUDED_DefaultBool_h_GUID_3AFC9D48_7BCD_4AAD_CC67_E3FE744CF724
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.
The main namespace for all C++ elements of the framework, internal and external.
DefaultBool()
Default constructor, initializes value to specified default.