Home » U++ Library support » U++ MT-multithreading and servers » Witz and map variable
Re: Witz and map variable [message #38091 is a reply to message #38089] |
Fri, 30 November 2012 08:30   |
|
Zbych wrote on Fri, 30 November 2012 07:51 |
dolik.rce wrote on Fri, 30 November 2012 07:41 |
It all goes down to the compiler, it decides that the 0 is not integer, but empty string
|
Bug or feature? 
|
I'd say it is not a feature Perhaps a limitation 
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 
Honza
|
|
|
Goto Forum:
Current Time: Wed Jul 02 15:12:31 CEST 2025
Total time taken to generate the page: 0.06332 seconds
|