https://llvm.org/bugs/show_bug.cgi?id=23802
Davide Italiano <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #1 from Davide Italiano <[email protected]> --- hmm, I don't think this is a bug. Quoting the standard: "If a conversion can be interpreted in more than one of the ways listed above, the interpretation that appears first in the list is used, even if a cast resulting from that interpretation is ill-formed." So, static_cast has higher priority than reinterpret_cast and given that fails the result is considered ill-formed. -- 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
