Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

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
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *Map::IsPicked() is missing
Next Topic: Latest change on FileMapping::Map() wrong for win32
Goto Forum:
  


Current Time: Fri Jun 07 15:19:50 CEST 2024

Total time taken to generate the page: 0.01515 seconds