On Jul 11, 2011, at 1:52 PM, DJ Delorie wrote: > Finally getting around to writing this one. The idea is to have an > attribute which determines how bitfields are allocated
:-) Apple has one of these sorts of creatures. You can see the code in the Apple tree, marked by APPLE LOCAL {begin ,end ,}bitfield reversal. Your code looks much nicer than the Apple code, I hope it works as well.