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 » Proposal: BinFindIndex should return 0 for empty container
Re: Proposal: BinFindIndex should return 0 for empty container [message #5065 is a reply to message #5061] Sat, 02 September 2006 00:15 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
hans wrote on Fri, 01 September 2006 13:41

Currently BinFindIndex returns -1 if container is empty.



I am not sure. I see if(begin==end) return 0; in my version...

Mirek


 
Read Message
Read Message
Read Message
Previous Topic: bug: AtomicXAdd for non win32, non-posix returns wrong value
Next Topic: what technique does U++ use to reduce code bloat from too many template instantiations?
Goto Forum:
  


Current Time: Tue Jul 08 11:57:17 CEST 2025

Total time taken to generate the page: 0.02701 seconds