[Bug c++/76262] list-initialization prefers initializer_list over copy constructor

rs2740 at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 16 08:28:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76262

--- Comment #3 from TC <rs2740 at gmail dot com> ---
(In reply to Jonathan Wakely from comment #2)
> In which case both EDG and Clang get this wrong, as they print "12"

I know that Clang 3.7+ implemented DR1467 without 2137 (in which case "12"
would be the right output) - that led to
https://llvm.org/bugs/show_bug.cgi?id=23812.

I'm not familiar with EDG.


More information about the Gcc-bugs mailing list