[LLVMbugs] [Bug 6506] New: Ambiguous calls to llvm::next.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 5 00:45:29 PST 2010


           Summary: Ambiguous calls to llvm::next.
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: ahmedcharles at gmail.com
                CC: llvmbugs at cs.uiuc.edu

C++0x adds std::next (and std::prev). std::next conflicts with llvm::next when
used on a type within the std namespace because of ADL. Explicitly qualifying
these calls will result in the ambiguity being resolved, in favor of the llvm::


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.

More information about the llvm-bugs mailing list