Home » U++ Library support » U++ Core » Deepcopying One container
Re: Deepcopying One container [message #23606 is a reply to message #23599] |
Wed, 04 November 2009 08:40  |
|
luzr wrote on Tue, 03 November 2009 19:45 |
IMO, the example is a very little bit misleading - Copy should deepcopy some content...
Mirek
|
Well, the example is oversimplified. In most cases it probably should deepcopy the content - but not necessarily every time. For example in my case, all I needed was to preserve the information about type to keep the virtual methods accessible. (And I overwrite the content anyway.)
Honza
|
|
|
Goto Forum:
Current Time: Wed Apr 30 23:46:54 CEST 2025
Total time taken to generate the page: 0.02779 seconds
|