using bitwise operators booleans c++


is there any reason bitwise operators &, |, ^ "bool" values c++?



i infrequently run situations where i wish accurately twin conditions loyal (xor), i only pitch ^ user saving expression. i also infrequently wish tools condition evaluated presumably outcome loyal (rather short-circuiting), i & |. i also need amass boolean values sometimes, &= |= definitely useful.



i've gotten few carried eyebrows doing this, nonetheless formula still revealing cleaner otherwise. there any reason bools? there any difficult compilers give bad law this?



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members