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 » Basic questions about u++
Re: Basic questions about u++ [message #23300 is a reply to message #23298] Wed, 07 October 2009 19:07 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
Well, here it is a little more complicated and is difficult to explain.

Basically there is a distinction between moveing and object and a deep copy of the object. This allows various memory operations to work more efficiently and nice things like returning a Vector<> object from a function. A detailed explanation is here(also follow the link to 'pick semantics'

I'll give you an example tomorrow if you need it, but I've got to run now or I'll miss my train Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Time to sing praises for MinGW and GCC
Next Topic: online Whiteboard
Goto Forum:
  


Current Time: Mon May 13 00:18:45 CEST 2024

Total time taken to generate the page: 0.02479 seconds