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 » Developing U++ » U++ Developers corner » What is the highest version of U++ that does not require C++11 ?
Re: What is the highest version of U++ that does not require C++11 ? [message #46863 is a reply to message #46860] Wed, 31 August 2016 19:29 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
cbpporter wrote on Tue, 30 August 2016 09:38
Quote:

Block is:
class Block: Moveable<Block> {
public:
	WithDeepCopy<VectorMap<String, Variable>> Vars;
	int Temps;

	Block() {
		Temps = 0;
	}

	rval_default(Block);
};



The rval_default was preventing the copy.

OK, at least for the command line projects I will use MSC14 and latest U++ for e trial period of 2 weeks.


Well, yes, with hindsight, rval_default was probably sort of mistake (maybe just communication mistake). I believe that we need comprehensive docs about pick/clone and composition issues.

In above example, removing rval_default will simply generate copy and move constructors 'std-style'. Which is OK, but I will still push for pick/clone style... (where 'clone' is explicit unless '=' is move).

Mirek
 
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: Use zlib inside another library
Next Topic: U++ in a computer cluster
Goto Forum:
  


Current Time: Fri Jun 06 19:20:10 CEST 2025

Total time taken to generate the page: 0.04505 seconds