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 » no true Iterator support in Upp???
Re: no true Iterator support in Upp??? [message #28965 is a reply to message #28963] Wed, 29 September 2010 14:02 Go to previous messageGo to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
i agree on effectiveness and all that.. no doubt.

but there is currently no possibility to have algorithms that can cope with arbitrary data structures. i know that upp is handling much of it using template algorithms in Algo.h, etc. but it's not the same, though speed is an adavntage, no doubt.

it is not nesseccary to extend the containers with iterator / enumerator capabilities, such an interface could be returned by helperclasses, that are internally aware of the container, just as you sated.

BTW: wiki states that iterator / enumerator is same Smile or am i missing some knowledge?

Quote:


C# and other .NET languages
Iterators in the .NET Framework are called "enumerators" and represented by the IEnumerator interface.


http://en.wikipedia.org/wiki/Iterator
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Handle a RGBA* with ImageBuffer
Next Topic: Animate does not really animate
Goto Forum:
  


Current Time: Fri Jul 18 03:50:02 CEST 2025

Total time taken to generate the page: 0.03463 seconds