You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the quick response. This sounds very reasonable.
Additionally the might be a runtime assert that every flag ever used is a subset of the "all flags" constant. Can be disabled for release build. That might help avoiding inadvertently forgetting to update it.
The
~
operator negates the underlying integer value and something like~Flags(empty)
is thus in general not equal to or-ing all flags.See an example here: https://wandbox.org/permlink/RQGdNMjBO0RE2tDy
Is there a way this can be fixed? I guess somehow the maximum Flag value would need to be determined somehow...
The text was updated successfully, but these errors were encountered: