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 » U++ community news and announcements » C++11 library features finished
Re: C++11 library features finished [message #45461 is a reply to message #45448] Thu, 19 November 2015 00:59 Go to previous messageGo to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

Still having rare issues with newest C++11-style code:
	struct GLTextureDescriptor : Moveable<GLTextureDescriptor>
	{
		int w,h,wTex,hTex;
		struct GLTex : Moveable<GLTex>
		{
			int w,h;
			GLuint glId;
		};
		Vector<Vector<GLTex>> glTex;
	};
	VectorMap<String,GLTextureDescriptor> glTextureDescriptors;

	//...
	GLTextureDescriptor desc;
	//...
	glTextureDescriptors.AddPick(key, desc); // <-- compiler error, cannot cast 2nd argument to GLTextureDescriptor &&

I wasn't able to find quick & easy solution for this case.
 
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: ide: Optimal mode removed
Next Topic: How You will celebrate 10 000 commit of U++?
Goto Forum:
  


Current Time: Thu May 16 21:26:49 CEST 2024

Total time taken to generate the page: 0.02735 seconds