http://llvm.org/bugs/show_bug.cgi?id=12118

             Bug #: 12118
           Summary: Doesn't consider list initialization of
                    "initializer_list<X>" as a tie-breaker
           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


Clang gives an ambiguity for this:

void f(initializer_list<int>); 
void f(int); 
int main() { f({0}); }

However C++11 13.3.3.2p3 last bullet says that the list initialization sequence
of the first f is better than that for the second f.

-- 
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

Reply via email to