Tony Wasserka 48a1790d81 Common: Add a generic class for accessing bitfields in a fast and endianness-independent way.
The underlying storage type of a bitfield can be any intrinsic integer type,
but also any enumeration.

Custom storage types are supported if the following things are defined on the storage type:
- casting 0 to the storage type
- bit shift operators (in both directions)
- bitwise & operator
- bitwise ~ operator
- std::make_unsigned specialization
2014-03-25 23:33:04 +01:00
..
2014-03-09 21:14:26 +01:00
2014-03-09 21:14:26 +01:00
2014-03-14 13:51:23 -04:00
2014-03-09 21:14:26 +01:00
2014-03-14 13:51:23 -04:00
2014-03-14 13:51:23 -04:00
2014-03-09 21:14:26 +01:00
2014-03-09 21:14:26 +01:00
2014-03-09 21:14:26 +01:00
2014-03-09 21:14:26 +01:00
2014-03-07 21:40:59 +13:00
2014-03-14 13:51:23 -04:00
2014-03-14 13:51:23 -04:00
2014-03-09 21:14:26 +01:00
2014-03-09 21:14:26 +01:00
2014-03-14 13:51:23 -04:00
2014-03-14 13:51:23 -04:00
2014-03-14 13:51:23 -04:00
2014-03-14 13:51:23 -04:00
2014-03-14 13:51:23 -04:00
2014-03-14 13:51:23 -04:00
2014-03-09 21:14:26 +01:00