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 struct Converts { double value; alias value this; }

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

Meta