U++ framework
Do not panic. Ask here before giving up.

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 May 30 00:42:09 GMT+2 2026

Total time taken to generate the page: 0.00520 seconds