different ways of declaring classes
I have a class, within which I have the need for several different data structures. I have no use for these structures outside of the class, so I've been declaring them like this:
A few questions
//an obviously simplified version
1) this does prevent dataStructure from being used outside of myClass, correct?
2) are there any performance problems with doing it this way?
3) ...other concerns about doing it this way?