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 » Quiz #6
Quiz #6 [message #57962] Wed, 05 January 2022 10:52 Go to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
What is this good for (it is inline method):

	template <class T>
	void Ize(T& io) {
		for(Ctrl& q : *this)
			if(dynamic_cast<EditField *>(&q)) {
				Value v = ~q;
				io(q.GetLayoutId(), v);
				q <<= v;
			}
	}
	
Re: Quiz #6 [message #57968 is a reply to message #57962] Wed, 05 January 2022 23:15 Go to previous message
mr_ped is currently offline  mr_ped
Messages: 825
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
serialization of content of edit fields, so any form can be saved/restored mid way while being edited, or having auto-save for some restore, etc.
Previous Topic: mold - several times faster than LLVM lld linker from the creator of LLVM lld
Next Topic: Pointers or not?
Goto Forum:
  


Current Time: Thu Mar 28 14:53:09 CET 2024

Total time taken to generate the page: 0.00877 seconds