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 » Value: no deep copy support?
Re: Value: no deep copy support? [message #28529 is a reply to message #28461] Mon, 06 September 2010 10:38 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
kohait00 wrote on Thu, 02 September 2010 09:58

hi all,

dealing with Value i noticed that it has no possibility to do a clone or DeepCopyNew of the referenced content.

this is surely by design, but what were the concepts leading to this?



Huh? Value is supposed to work "value-like" at all times, just like fundamental types (say 'int'). Or, to say it better, just like String or Time.

Forget about "clones" or "deep copies", these concepts do not apply here.

(And yes, internally Value implementation now uses reference counting - note however that this might change in future to some more sophisticated pattern - just like it did with String).
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PolyDeepCopyNew: MSC / GCC differ in behaviour
Next Topic: RichPickToValue PROPOSAL
Goto Forum:
  


Current Time: Mon Aug 25 04:21:07 CEST 2025

Total time taken to generate the page: 0.07075 seconds