[LLVMbugs] [Bug 9421] New: Explicit class template member function specialization confusion
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Mar 7 14:10:54 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=9421
Summary: Explicit class template member function specialization
confusion
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: stephan.bergmann.secondary at googlemail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
$ clang++ --version
clang version 2.9 (trunk 127169)
Target: x86_64-apple-darwin10
Thread model: posix
$ cat test.cc
namespace N { template<typename T> struct S { void f(); }; }
typedef N::S<int> T;
namespace N { template<> void T::f() {} }
$ clang++ -c test.cc
test.cc:3:34: error: no function template matches function template
specialization 'f'
namespace N { template<> void T::f() {} }
^
1 error generated.
--
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