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++ 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 Go to previous messageGo to previous message
steffen is currently offline  steffen
Messages: 38
Registered: May 2007
Location: Denmark
Member

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"])

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Out of memory panic
Next Topic: Serialize of derived classes
Goto Forum:
  


Current Time: Wed Aug 27 19:25:47 CEST 2025

Total time taken to generate the page: 0.06748 seconds