We can declare and define a friend function inside a class, like below
class C
{
friend void F() {cout<<"inner friend func"<<endl;}
};
how to access/use this inner friend func?
C::F() //error: 'F' is not a member of 'C'
C().F()//error: 'class C' has no member named 'F'