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 » How would you design a good copy/move semantics system?
Re: How would you design a good copy/move semantics system? [message #44163 is a reply to message #44149] Mon, 12 January 2015 11:21 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
I was interested in this in general, not necessarily in the context of C++, but in the context of value based programming languages.

Ideologically, I shall try a system that always does a copy, including on parameter passing, except on a return statement and see if that takes me somewhere. And an undocumented move operator that can be used but there aren't any hard rules or situations when you absolutely need it.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Extracting links challenge
Next Topic: Banana PI
Goto Forum:
  


Current Time: Sat Apr 20 13:23:32 CEST 2024

Total time taken to generate the page: 0.02633 seconds