http://llvm.org/bugs/show_bug.cgi?id=12120
Bug #: 12120
Summary: Clang ignores 'explicit' constructors in
copy-list-initialization
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: C++0x
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
This initialization is ambiguous (could use either constructor by overload
resolution), but clang accepts it:
struct A { explicit A(int); A(float); };
A a = { 0 };
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs