make member I public
From-SVN: r22129
This commit is contained in:
parent
9953e37587
commit
f82b6a6b75
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
template <class A, class B> void foo();
|
||||
template <class C> class bar {
|
||||
public:
|
||||
int i;
|
||||
template <class B> friend void foo<C,B>(); // ERROR - template-id
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue