U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » no true Iterator support in Upp???
Re: no true Iterator support in Upp??? [message #28947 is a reply to message #28946] Tue, 28 September 2010 23:02 Go to previous messageGo to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
a first idea to discuss would be:

* unify the Iterator and ConstIterator if possible
i think to make ii mutable would be no solution though, so this is probably not possible alltogether, the interfaces need to stay separated..but the 2 (const and non const) interfaces could be implemented by the same iterator imlementation, giving out the interface that is apropriate automatically..

* decouple the templated Iterator implementations for containers from the container dependancy, to be able to store the interfaces only, think of mixed containers environment, their interfaces in another common container to access the elements uniformely..

 
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: Thu Sep 24 23:49:15 GMT+2 2026

Total time taken to generate the page: 0.19138 seconds