4 #ifndef QCC_SUPPORT_BOOL
10 // Transitional aliases
11 [[deprecated("use true")]] [[alias("true")]] const bool TRUE;
12 [[deprecated("use false")]] [[alias("false")]] const bool FALSE;
14 // get true/false value of a string with multiple different inputs
15 float InterpretBoolean(string input)
17 switch (strtolower(input))
29 default: return stof(input);
33 float boolean(float value) { // if value is 0 return false (0), otherwise return true (1)
34 return (value == 0) ? false : true;