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: Fri May 10 11:21:24 CEST 2024
Total time taken to generate the page: 0.01741 seconds
|