[LLVMbugs] [Bug 21159] clang 3.5: error: chosen constructor is explicit in copy-initialization

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Oct 5 12:58:46 PDT 2014


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 #3 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Per DR1070, omitted elements in aggregate initialization are
copy-list-initialized from {}:


Copy-list-initialization of dumb_ptr is ill-formed. (This wording is all in

Per DR1301, initialization of an aggregate from a braced-init-list always
performs aggregate initialization, even if the list is empty:


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/20141005/7eee56b9/attachment.html>

More information about the llvm-bugs mailing list