![](https://secure.gravatar.com/avatar/dc940f48c5635785f32941f1fbe6b601.jpg?s=120&d=mm&r=g)
16 Dec
2004
16 Dec
'04
4:42 p.m.
Peter Moulder wrote:
class Foo { ...
- class Bar;
- friend class Bar; class Bar {
Can anyone comment on this, i.e. in standard C++, are Foo::Bar private things automatically visible to Foo methods?
I do know that on ealier versions of gcc, adding the "friend" statement was required.