<quote who="Paul Davis">
all i'd really like it to be able to say:
class Foo {
protected:
/* scope A */
friend class Bar;
...
protected:
/* scope B */
friend class Baz;
...
};
such that Bar can only access stuff within "scope A" and Baz can only
access stuff in "scope B". that is, access control keywords
...
I'm no expert on C++, but can this be done using a namespace inside of a
class?
Andy.