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

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: 14290
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: 826
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: Fri May 01 01:24:18 GMT+2 2026

Total time taken to generate the page: 0.00588 seconds