https://www.youtube.com/watch?v=3KuFYFDoiMM
Covers use of bit shifting in order to allow OR'ing flag settings to produce a controlled/specific outcome.
The OR'ing behavior makes some sense, but not enough for me to feel entirely comfortable with implementing similar logic as a natural first reaction.
https://www.youtube.com/watch?v=3KuFYFDoiMM
Covers use of bit shifting in order to allow OR'ing flag settings to produce a controlled/specific outcome.
The OR'ing behavior makes some sense, but not enough for me to feel entirely comfortable with implementing similar logic as a natural first reaction.