Namespaces
Variants
Views
Actions

Talk:cpp/named req/BitmaskType

From cppreference.com

[edit] (X&Y) != 0

As far as I can tell, the expression (X&Y) != 0 is not required to be well-formed (e.g. enum classes cannot convert to or from integers). All the standard says is that the value of X&Y will be non-zero if Y is set in X. Hpesoj00 (talk) 11:26, 28 February 2020 (PST)