Boost logo

Boost :

From: Gary Powell (Gary.Powell_at_[hidden])
Date: 2000-09-14 11:23:55


> I liked the layered iterator concept.
Me too. It solves some nice problems.

> The VTL is neat,
Thanks! (It's a layered container solution.)

> but I believe it suffers from coupling the
> view/container/iterator concept, too close to the algorithm that
> produces them. Thus you have a different view for each manipulating
> algorithm.
But sometimes that's exactly what you want, a data collection to appear as
some other group. Also it fits well with the STL algorithms which want a
c.begin(), c.end() range.

> the Tokenizer Concept
Makes a great "smart" iterator, and a poor container, IMO not a good
candidate for a VTL type because it manipulates a stream not a container.

Screws and nails, smart iterators and views, the right tool for the job.

-gary-

gary.powell_at_[hidden]

 


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