Ocean
|
This class implements a helper class allowing to define the identity data type of a given type. More...
Public Types | |
using | Type = T |
The data type of 'T'. More... | |
This class implements a helper class allowing to define the identity data type of a given type.
The class can be used if e.g., to prevent that the compiler is able to implicitly determine a template data type in a function.
The following code example explains the usage of the helper class:
T | The data type to be used |
using Ocean::Identity< T >::Type = T |
The data type of 'T'.