finalizing the Iterator API

Adrian Page adrian at pagenet.plus.com
Tue Jul 6 16:17:28 CEST 2004


On Tuesday 06 July 2004 2:00 pm, Casper Boemann wrote:
> GOF uses done() to check for reaching the end. You use another iterator to
> compare with. GOF also lists your method as an alternative (also lists an
> alternative of advance() returning a status) so I'm not saying there is
> anything wrong. It's just a matter of taste, and now that you have had some
> experience with use, you might have som wishes.

Comparing with begin()/end() is the STL way of doing things, though as you 
say, it is just a matter of taste.

Adrian


More information about the kimageshop mailing list