[LLVMbugs] [Bug 551] NEW: rejects valid template specialization

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Apr 20 04:19:15 PDT 2005


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=551

           Summary: rejects valid template specialization
           Product: tools
           Version: 1.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-g++
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sstrasser at systemhaus-gruppe.de


error: ambiguous template specialization `GetParent<const MetaCpp::Element>' for
`MetaCpp::object<const MetaCpp::Element> MetaCpp::ElementImpl::GetParent() const'


gcc version 3.4-llvm 20030924 (experimental)

accepted by gcc 3.3, 3.4 and 4.0


struct B{
template<typename T>
T blah();
template<typename T>
T const blah() const;
};

template<>
int const B::blah() const;



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list