Home » Community » Newbie corner » Vector deep copy constructor
Vector deep copy constructor [message #44724] |
Fri, 05 June 2015 11:11 |
cbpporter
Messages: 1401 Registered: September 2007
|
Ultimate Contributor |
|
|
Generally I use the old-school U++ conventions regarding to ownership and moving, but I have a handful of classes that by design must always be copied. The classes have a lot of containers in them.
In the past I had to write copy constructors for them and do deep copy for those vectors.
Now I think that Vector no longer has move copy by default? Can I get rid of the manual copy constructors in these classes now and have deep copy on everything?
I'm not using C++ 1x.
|
|
|
|
Goto Forum:
Current Time: Thu Mar 28 20:14:09 CET 2024
Total time taken to generate the page: 0.01296 seconds
|