digitalmars.D - Re: Bitfield structs and suggestion
- bearophile <bearophileHUGS mailas.com> Nov 23 2007
Regan Heath:In the meantime, in order to avoid having to re-code all the bit shifts in every struct with bitfields isn't there a mixin which could implement properties for accessing specific bits.
Take a look at the "Bitfield accessors" thread in digitalmars.D.learn
Nov 23 2007