[LLVMbugs] [Bug 22924] Rejects-valid: braced init list on new[]

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 16 11:20:49 PDT 2015


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> ---
[expr.new]p19: "If the new-expression creates an object or an array of objects
of class type, access and ambiguity control are done for the allocation
function, the deallocation function (12.5), and the [default] constructor

Note that this happens whether or not the initializer actually initializes all
the array elements.

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/20150316/143a4043/attachment.html>

More information about the llvm-bugs mailing list