[LLVMbugs] [Bug 19685] constexpr does not work with placement new

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 7 14:54:57 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19685

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
This is a GCC bug. A constant expression cannot include a new-expression (see
C++14 [expr.const](5.19)/2 bullet 17).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140507/cc1b6dab/attachment.html>


More information about the llvm-bugs mailing list