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

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 14 03:44:43 GMT+2 2026

Total time taken to generate the page: 0.01959 seconds