[LLVMbugs] [Bug 12117] Doesn't restrict list initializations to standard/ellipsis conversions for copy constructor
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jan 27 10:49:04 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=12117
Larisse Voufo <lvoufo at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lvoufo at gmail.com
Resolution|FIXED |INVALID
--- Comment #6 from Larisse Voufo <lvoufo at gmail.com> ---
DR1467 appears to actually disallow this, by removing the bullet point in
13.3.3.1 [over.best.ics] paragraph 4 that would allow user conversions to be
suppressed:
struct A { A(int); };
struct B { B(A); } b{{0}};
See r227224.
--
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/20150127/4f27ba84/attachment.html>
More information about the llvm-bugs
mailing list