Methods | Description |
---|---|
integer_base(const int a) | Constructor to create an integer instance from an int. |
integer_base(const integer_base &a) | Copy constructor. |
integer_base
&operator=(const integer_base a) |
Assignment operator. |
operator int() | Cast operator to convert a integer value to int. |
static int ld_size() | returns log2 of the size (in byte) of a integer instance. Note, this function always returns the same value (usually 2, i.e. 22=4 bytes). |
static bool scalar() | Always returns true because physical types are scalar. |
static void cleanup() | Actually does nothing. |
Note, no further operators are defined in integer_base
.