http://llvm.org/bugs/show_bug.cgi?id=10137
Douglas Gregor <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #6 from Douglas Gregor <[email protected]> 2011-06-14 21:56:09 CDT --- With bug 10034, the type was a POD type, so the code was well-formed according to the C++ standard and we have to accept it. With this bug, the type is non-POD, so the code is ill-formed in C++98/03. Since GCC also rejects it, I see no reason to accept this ill-formed code. In C++0x, the rules changed and this code because well-formed. -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- 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
