C++: Nesting public in private == private?
Mikael Hansson
EMAIL HIDDEN
Wed Mar 25 06:53:14 CET 2009
cyrille.damez skrev:
>
> If the inner class is in the private section, then other classes
> won't be allowed to see it (as if it was in another namespace), so
> they won't be able to access its members.
> What's wrong with std::list ?
>
Not allowed :)
Getting some university points in C++ so we're supposed to show that we
can implement a list.
Thanks for your help!
/Micke
More information about the music-bar
mailing list