trust-store
1.1.0
Provides a common implementation of a trust store to be used by trusted helpers.
|
Helper structure for tagging integer types with certain semantics. More...
#include <tagged_integer.h>
Public Types | |
typedef Tag | TagType |
We bail out if the Integral type is not an integral one. More... | |
typedef Integer | IntegerType |
Stores the Integer type. More... | |
Public Member Functions | |
TaggedInteger () | |
Construct an instance with a default value. More... | |
TaggedInteger (Integer value) | |
Construct an instance from an existing integer type. More... | |
Public Attributes | |
Integer | value |
The contained integer value. More... | |
Helper structure for tagging integer types with certain semantics.
Definition at line 35 of file tagged_integer.h.
typedef Integer core::trust::TaggedInteger< Tag, Integer >::IntegerType |
Stores the Integer type.
Definition at line 43 of file tagged_integer.h.
typedef Tag core::trust::TaggedInteger< Tag, Integer >::TagType |
We bail out if the Integral type is not an integral one.
Stores the Tag type.
Definition at line 38 of file tagged_integer.h.
|
inline |
Construct an instance with a default value.
Definition at line 46 of file tagged_integer.h.
|
inlineexplicit |
Construct an instance from an existing integer type.
Definition at line 51 of file tagged_integer.h.
Integer core::trust::TaggedInteger< Tag, Integer >::value |
The contained integer value.
Definition at line 56 of file tagged_integer.h.
Referenced by core::trust::operator!=(), core::trust::operator<(), and core::trust::operator==().