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 » Developing U++ » U++ Developers corner » Interesting advantage of using indices instead of iterators
Re: Interesting advantage of using indices instead of iterators [message #7617 is a reply to message #7615] Wed, 10 January 2007 12:47 Go to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

Perhaps there are more important reasons (like that one you mentioned) but I don't like iterators because of long declarations...
map<string, const Point&>::const_iterator
vector<int>::iterator

God, what's that? Wink
That's one of reasons why auto is comming up. Indexes are much more natural IMO.
 
Read Message
Read Message
Read Message
Previous Topic: OSes: request for "advertising" audit
Next Topic: Funny way how to get thread specific id
Goto Forum:
  


Current Time: Fri Jun 27 21:55:00 CEST 2025

Total time taken to generate the page: 0.10277 seconds