Original Post
I have a small class with less than 10 routines in it. However, about 4 I only want accessed by object A, and the remaining ones I want only accessed by object B.
What is the cleanest OO solution?
Split the object in 2? Seems like too much overhead.
Make 2 structs in the object with function ptrs as interfaces?
Just get over it and let object B call routines only meant for object A? Ack!