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 » Pick problems
Pick problems [message #24533] Sat, 23 January 2010 10:14 Go to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
I get sometimes 'Pick broken semantic' error in my app and, as it is multithreaded, to locate them is becoming a nightmare.
Just today I've got one which I can't locate, and I'm thinking about some way to check if a container get picked just when it is.
So, it would be possible to add to containers a debug function like

BreakOnPick(bool brk = true);


which, if enabled, would throw a BREAK in debug mode, so the code that breaks pick semantics can be located more easy ?

Another stuff.... IsPicked() is missing from ArrayMap, because it's missing from AIndex template class.
Adding this to it :
bool IsPicked(void) const { return key.IsPicked() || hash.IsPicked(); }


Solves the issue.

Ciao

Max

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Little .ini reading request
Next Topic: Bug?: Command line arguments passing problem (Windows)
Goto Forum:
  


Current Time: Tue May 28 09:25:01 CEST 2024

Total time taken to generate the page: 0.00494 seconds