isRealType

template isRealType (
T
) {}

Members

Static variables

isRealType
bool isRealType;
Undocumented in source.

Parameters

T

type to check

Return Value

true if T is a built-in floating point type, excluding complex/imaginary ones

Examples

static assert ( isRealType!(double));
static assert (!isRealType!(long));
static assert (!isRealType!(cdouble));

Meta