Home » U++ Library support » U++ Core » Value: String to int - problem or feature?
Re: Value: String to int - problem or feature? [message #36396 is a reply to message #36394] |
Wed, 23 May 2012 21:13   |
|
Thank you for the explanation.
I always thought Value was something like the Delphi Variant type.
I imagined it would use something like CParser::IsNumber if one was trying to convert a string to int.
The manual conversion is OK, I was just annoyed by having to manually convert it every time I looked something up in my configuration map.
I will add some overloaded array operators to my class instead.
My usage will be something like:
ClientSocket(socket, gConfig["Host"], gConfig["Port"])
|
|
|
Goto Forum:
Current Time: Wed Aug 27 19:25:47 CEST 2025
Total time taken to generate the page: 0.06748 seconds
|