N
Neo
What would be the use of having a protected member class as a friend?
-Neo
-Neo
What would be the use of having a protected member class as a friend?
-Neo
Neo said:What would be the use of having a protected member class as a friend?
What would be the use of having a protected member class as a friend?
-Neo
That question can be interpreted a number of ways.
class Foo {
protected:
Bar bar;
friend class Bar;
};
Is the above what you mean?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.