Often Unused Operators: |= (or equals)
I’ve debated before the usefulness of the | and & operators. The use of the | operator depends on the context in which it is used. In the case of bools a boolean operation is performed. In the case of ints a bitwise OR is performed. For boolean operations when the | operator is used […]
. Read more