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<int64> and Value<int> mess
Value<int64> and Value<int> mess [message #26719] Fri, 21 May 2010 10:36 Go to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

It looks like U++ int and int64 inside Value make mess.
In great number of cases, creating Value with int inside makes in Value<int64> instead. Which leads to assertion break while trying to process this Value. This is painfully and takes much time to debug.
I failed to find any conscious rules when int64 is generated instead of int. Take a look at this example:
int h = ValueTo<int>(StdConvertInt().Scan(ts.Left (delim)));
gives assertion error, because actually Value<int64> is generated.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Date is broken for years below one.
Next Topic: CHARSET: EE8ISO8859P2 is in u++?
Goto Forum:
  


Current Time: Mon May 06 00:23:07 CEST 2024

Total time taken to generate the page: 0.03090 seconds