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 » Community » Coffee corner » NTL - "deep copy semantics"?
NTL - "deep copy semantics"? [message #4116] Fri, 21 July 2006 17:57 Go to previous message
Werner is currently offline  Werner
Messages: 234
Registered: May 2006
Location: Cologne / Germany
Experienced Member
When reading about "deep copy" I feel a little bit confused.

You call it "deep copy semantics" to put a value into the target while preserving it in the source. And you set this in contrast to "pick transfer semantics" where a value is put into the target while destroying it in the source.

When I compare this with other C++ reading stuff I understand your "deep copy" as a simple copy process while "pick transfer semantics" means the same as "destructive copy semantics". The latter choice of words reserves the expression "deep copy" (vs "shallow" (or "flat") copy) to tell apart memberwise copy from bitwise copy.

Of course you have every right to define expressions to your liking as long as you make clear what you mean (and you do this!). But what is the reason for this non-customary use of these expressions? Or do I misinterpret something?

Werner
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to promote U++ ?
Next Topic: Database performance test
Goto Forum:
  


Current Time: Sat Apr 27 21:03:26 CEST 2024

Total time taken to generate the page: 0.02899 seconds