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?
Value: String to int - problem or feature? [message #36391] Wed, 23 May 2012 19:59 Go to previous message
steffen is currently offline  steffen
Messages: 38
Registered: May 2007
Location: Denmark
Member

Hi,

Maybe I have a wrong understanding of how Value should work, but I keep getting Asserts on simple data conversions.

I have a VectorMap<String,Value> holding configuration data read from a section in an .ini file.
When using numeric values in this ini file I get the asserts.

Could anyone please explain to me why I cant do the following:
Value v = "122";
int i = v;

 
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: Sat Apr 27 19:13:35 CEST 2024

Total time taken to generate the page: 0.02060 seconds