C++11 bitfield template library