Re: [boost] [multi_index] use cases for iterator_to()

11 Jun
2007
11 Jun
'07
4:45 p.m.
In which sense is the use of pointers rather than iterators "more convenient"?
In the "lazy programmer" sense. (I did say "admittedly for a fairly weak reason" :-) Usually it is a case of my passing around a pointer that can optionally be NULL, and then discovering during maintenance that I need to have an iterator. In all such cases I've been able refactor the routines to take an iterator, and ultimately been happy with that as the superior solution. However, the "lazy programmer" in me may have chosen iterator_to had it been available. Hmm. Sounds like I just described a good reason *not* to add it. Paul
6587
Age (days ago)
6587
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paul Rose