!! - it's easy ! and ! , two negatives. Double negation comes down to noop, but it distinguishes the value of bool . Therefore, consider the alternative syntax (bool) . The advantage is that it:
- it works in C, which does not have a separate bool type in C89 (forces a value of 0 or 1) and
- MSC ++ does not generate a stupid "performance warning" for it, nor for
(bool) .
And the rest is just ::IsZoomed , i.e. IsZoomed function from the top-level namespace.
Jan Hudec
source share