title: Can 2 classes share a friend function?
body: <p>Today i have a doubt regarding friend function.
  Can two classes have same friend function?
  Say example 
  <code>friend void f1();</code> 
  declared in class A and class B. Is this possible? If so, can a function f1() can access the members of two classes?</p>