Compute Library
18.05
|
Strong type. More...
#include <StrongType.h>
Public Types | |
using | ExactType = T |
Exact underlying type. More... | |
Public Member Functions | |
StrongType (T val) | |
Default Constructor. More... | |
T & | get () |
Accessor of the value of the exact type. More... | |
const T & | get () const |
Accessor of the value of the exact type. More... | |
Strong type.
T | Exact type of the Strong Type |
Tag | Tag used to distinguish between types with same T |
Attributes | Attributes of the Strong Type |
Definition at line 40 of file StrongType.h.
using ExactType = T |
Exact underlying type.
Definition at line 44 of file StrongType.h.
|
inline |
Default Constructor.
[in] | val | Initialization value |
Definition at line 51 of file StrongType.h.
|
inline |
Accessor of the value of the exact type.
Definition at line 59 of file StrongType.h.
|
inline |
Accessor of the value of the exact type.
Definition at line 67 of file StrongType.h.