in reply to Giving names to bits

The vec function is an lvalue, as well as possessing a setter form, so you can set bitfields with it.

Added: I was going to add an example, but Tanktalus++ beat me to it.

After Compline,
Zaxo