http://llvm.org/bugs/show_bug.cgi?id=6514
Summary: valid template code rejected (friend decl.
misinterpreted)
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
template <int N, template <int> class GOVERN>
class Role : public GOVERN<N>
{
friend class GOVERN<N>;
};
/*
abc.cpp:4:18: error: cannot specialize a template template parameter
friend class GOVERN<N>;
^
1 diagnostic generated.
- G++ digests this.
- comeau too.
*/
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs