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 » Wonders of C++14
Wonders of C++14 [message #47098] Mon, 05 December 2016 14:51 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Did not expected this to compile:

	auto st = []() { struct Foo { int a, b; }; Foo x; x.a = 10; return x; };
	auto v = st();
	DUMP(v.a);


But it does and works... Wow.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: I've just joined the wonderful world of Linux software distribution!
Next Topic: Clang on Windows with U++?
Goto Forum:
  


Current Time: Wed Apr 24 03:08:08 CEST 2024

Total time taken to generate the page: 0.89208 seconds