https://llvm.org/bugs/show_bug.cgi?id=18218
Marshall Clow (home) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |INVALID --- Comment #7 from Marshall Clow (home) <[email protected]> --- (In reply to comment #0) > The template should be enabled for every type that is convertible to an > arithmetic type, to make the implementation indistinguishable from what is > specified in the standard. After some research, and talking to a bunch of people, I have come to the conclusion that this is incorrect. This is LWG issue #2086 - http://cplusplus.github.io/LWG/lwg-defects.html#2086, and the discussion there is quite clear: The only valid types that can be passed to isnan (and others in <cmath>) are arithmetic types; i.e, the built-in integral and floating point types. No user-defined types. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
