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

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: 14290
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: Tue Apr 28 15:19:16 GMT+2 2026

Total time taken to generate the page: 0.00455 seconds