Friendship and templates

I have a function and a class, like so:

1
2
3
4
5
6
7
8
template<class U,class V>
V myFunc (U);

template<class T>
class myClass
{
// Do stuff
};


I want to make myFunc<(hardcoded type),(anything)> a friend of myClass. How would I do that?
Topic archived. No new replies allowed.