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++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Upp::Sort(begin, end, less) does not compile under MSC8 when less is a plain C function
Re: Upp::Sort(begin, end, less) does not compile under MSC8 when less is a plain C function [message #29376 is a reply to message #29372] Sat, 16 October 2010 13:02 Go to previous messageGo to previous message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Besides this compile issue (which is not really an issue I think).

There is another problem: the sort algorithm is not completely exact:
	while((count = (int)(end - begin)) > __SORT_THRESHOLD) {


The only test that is valid to do on iterators is:
iter1 != iter2 (and of course iter1 == iter2 )

The operation 'end - begin' on iterators is not generic: it may work for the Upp containers, but with others .... ?
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Exported makefiles don't treat WIN32 flag correctly
Next Topic: Version Tab in .exe properties
Goto Forum:
  


Current Time: Mon May 06 14:52:43 CEST 2024

Total time taken to generate the page: 0.02372 seconds