Tagged Questions
6
votes
2answers
215 views
What would be a non-contrived reason to have an object with Private Copy Constructor as well as Assignment Operator?
Looking for non-conceptual/non-contrived reasons of when one would need to use an object with both a private copy constructor and a private assignment operator?
As in what problem does this ...
17
votes
9answers
1k views
Isn't class scope purely for organization?
Isn't scope just a way to organize classes, preventing outside code from accessing certain things you don't want accessed?
More specifically, is there any functional gain to having public, protected, ...