http://llvm.org/bugs/show_bug.cgi?id=15450
Richard Smith <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #1 from Richard Smith <[email protected]> --- Right, conversion from an integer other than 0 or 1 to bool is a narrowing conversion, narrowing conversions are not permitted in converted constant expressions, and a non-type template argument must be a converted constant expression. So you get a substitution failure in the template specialization. -- 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
