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 » U++ Library support » U++ MT-multithreading and servers » Witz and map variable
Re: Witz and map variable [message #38110 is a reply to message #38091] Sat, 01 December 2012 12:17 Go to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
dolik.rce wrote on Fri, 30 November 2012 02:30


I think it is possible to solve by adding new overload of Add (and perhaps also similar one for Set):
	void Add(int n, const Value& value)           { Add(Value(n), value); }


Mirek, what do you think? I'm not familiar enough with the Value * internals, so I can't really tell if it breaks anything else Smile

Honza


Agreed. It is not the most elegant solution, but if we want to be able to use ValueMap directly with Id and SqlId keys, it is probably the only possible solution...

(fixed)

Mirek
 
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: How to close a Thread?
Next Topic: What's wrong with this code?
Goto Forum:
  


Current Time: Fri May 10 13:29:10 CEST 2024

Total time taken to generate the page: 0.02361 seconds