https://issues.dlang.org/show_bug.cgi?id=11012
Alexander <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |WONTFIX --- Comment #4 from Alexander <[email protected]> --- Ok, I'll agree with Maxim, it's probably as it should be. template isFunctionPointerType(T: FT*, FT) { enum isFunctionPointerType = is(FT == function); } unittest { auto p = (){}; static assert(isFunctionPointerType!(typeof(p))); } --
