Ocean
|
This class implements a helper class allowing to define the identity data type of a given type. More...
#include <DataType.h>
Public Types | |
using | Type = T |
The data type of 'T'. | |
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'.