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 » container.At(not_existed_item_index)
Re: container.At(not_existed_item_index) [message #3541 is a reply to message #3540] Wed, 31 May 2006 18:00 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
qwerty wrote on Wed, 31 May 2006 11:36

so do I, thank you for your response...

...to be complete, is there any other way, than for(...) to traverze throught container in conjunction with possibility of modifying container during traversing ?

it's something like foreach, I guess, but there's nothing too much to add...



No, I even consider iterators deprecated now...

Last 5 years, we were almost exclusively using simple index based iteration. It has quite a lot of advantages:

- cheap range checking
- no problems with invalidated iterators
- possibility of coupling containers with other structures

That is why NTL is so index-centric now..

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: user 'Value' [FEATURE REQUEST]
Next Topic: .AsValue() ??
Goto Forum:
  


Current Time: Wed Jun 18 17:15:37 CEST 2025

Total time taken to generate the page: 0.04275 seconds