This class is usefull for debugging when decoding bit-encoded short or char because it has an associated operator << that prints out the bits in the underlying representation.
Public Member Functions | |
BitsPrint (const T &v) | |
Build from any single value of type T. | |
Public Attributes | |
T | _value |
Storage for value to be examined bit by bit. |
code::BitsPrint< T >::BitsPrint | ( | const T & | v | ) | [inline] |
Build from any single value of type T.
T code::BitsPrint< T >::_value |
Storage for value to be examined bit by bit.