[LLVMbugs] [Bug 9106] New: qualify calls to addressof

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jan 29 14:10:57 PST 2011


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

           Summary: qualify calls to addressof
           Product: libc++
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
        AssignedTo: hhinnant at apple.com
        ReportedBy: marc.glisse at normalesup.org
                CC: llvmbugs at cs.uiuc.edu


libc++ calls addressof without explicitly qualifying it as std::addressof. This
causes ambiguities with boost::addressof. Arguably boost should just (and
probably does in recent enough versions) use the std version instead of
providing its own, but I don't think it is illegal to have addressof functions
in other namespaces.

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