Maybe on the Arduino it might work....
It does. It works well.
For those concerned with performance... certain combinations of bit fields will generate several machine instructions. AlphaBeta's example is fairly lean. I think it's the same as using shift-and.