[LLVMbugs] [Bug 9105] New: incomplete inline namespace

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jan 29 13:54:54 PST 2011


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

           Summary: incomplete inline namespace
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++0x
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: marc.glisse at normalesup.org
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Hello,

I believe inline namespaces are supposed to allow specialization. (noticed with
libc++ in code that specializes std::swap (yes it should overload instead))

inline namespace N {
        template<class T> void f(T&);
}
template<> void f(int&){};

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