An object wrapping some data (copy), with a tag type. More...
#include <BinaryDumpUtils.h>
Public Member Functions | |
constexpr | BitObjHolder (T data) |
Public Attributes | |
T const | data |
Static Public Attributes | |
static constexpr unsigned int | bits { Bits } |
An object wrapping some data (copy), with a tag type.
Tag | a type to make a template class instance unique |
T | type of the data wrapped |
Bits | size of data in T in bits |
This template is used to implement other wrappers.
The role of Tag
is just to allow distinguishing template instances with the same T
(see for example BinObj
and HexObj
).
Definition at line 46 of file BinaryDumpUtils.h.
|
inline |
Definition at line 49 of file BinaryDumpUtils.h.
|
static |
Definition at line 48 of file BinaryDumpUtils.h.
T const icarus::ns::util::details::BitObjHolder< Tag, T, Bits >::data |
Definition at line 47 of file BinaryDumpUtils.h.