Browse files

bitfields updates (further)

issues dealt with:
4935 - std.bitmanip: bitfields!() template with trailing unnamed field
does not work
8474 - bitfields doesn't work with 32 bit fields
6686 - bitmanip bitfields are broken at 64 bits
5942 - bitfields overwritten erroneously:
5520 - bitfieldsOn
4425 - More bells & whistles for bitfields

Added static check to revert a bitfield to normal type if it is the only
one (and at full size). 32bit as first field no longer errors. Bitfields
should be separated and the no longer overwrite the whole thing (masking

bitfields are now pure, safe and nothrow.

bitfieldsOn added (not pure).
  • Loading branch information...
1 parent 729c96e commit 620ba57cc0a860245a2bf03f7b7f5d6a1bb58312 @rtcvb32 committed Aug 1, 2012
Showing with 194 additions and 67 deletions.
  1. +194 −67 std/bitmanip.d
Oops, something went wrong.

0 comments on commit 620ba57

Please sign in to comment.