Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2002-07-26 14:18:15


On Fri, 26 Jul 2002, David Abrahams wrote:
dave>
dave> Is it really sufficiently more-simple than say transform iterator
dave> adaptor or indirect iterator adaptor to warrant adding it?

The line_iterator may not be more simple, but it is certainly more
concrete (no Base template), and, like the linked list example, shows off
the "from scratch" purpose of iterator_adaptor, whereas the transform and
indirect show off the "adapter" purpose of iterator_adaptor. Also, it is
different enough from the linked list example to make it interesting.

Cheers,
Jeremy

----------------------------------------------------------------------
 Jeremy Siek http://php.indiana.edu/~jsiek/
 Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
 C++ Booster (http://www.boost.org) office phone: (812) 855-3608
----------------------------------------------------------------------


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk