U++ framework
Do not panic. Ask here before giving up.

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: 1428
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: Wed May 27 18:10:52 GMT+2 2026

Total time taken to generate the page: 0.01683 seconds