import std.complex; static assert(isComplex!(Complex!float)); static assert(isComplex!cfloat); static assert(!isComplex!float); static assert(isComplex!(Complex!float, float)); static assert(isComplex!(cfloat, float)); static assert(!isComplex!(float, float)); static assert(!isComplex!(Complex!double, float)); static assert(!isComplex!(cdouble, float)); static assert(!isComplex!(double, float));