Erm. Good point.
It can be said that the STL libraries themselves are safe to copy, but their contents are not. The libraries will invoke the default copy constructor and/or assignment operator when...
Type: Posts; User: Elysia
Erm. Good point.
It can be said that the STL libraries themselves are safe to copy, but their contents are not. The libraries will invoke the default copy constructor and/or assignment operator when...
Smart pointers can help you avoid having to write logic for copying these members.
And STL containers are designed so that they are safe to copy. You don't need to worry about those.