STL problem
The copy constructors, and assignment operators, should take const references because you are not going to be changing the type. Furthermore, if they are const then const instances of the type can be passed to them (such as temporary objects).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement