Does it make a difference whether I put 'friend class xxxxx' in the public or private section?

Posted by Kyle on Stack Overflow See other posts from Stack Overflow or by Kyle
Published on 2010-04-27T14:52:04Z Indexed on 2010/04/27 14:53 UTC
Read the original article Hit count: 283

Filed under:
|
|
|
class A1 { public: friend class B; }
class A2 { private: friend class B; }

Any difference?

© Stack Overflow or respective owner

Related posts about c++

Related posts about friend