views:

69

answers:

1
class A1 { public: friend class B; }
class A2 { private: friend class B; }

Any difference?

+4  A: 

No, access specificators have no effect on friend declaration.

Kotti