Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2000-12-21 12:18:40


Right, the integer range in the docs is also an example
of this... the integer is the wrapped thing, and it is not an iterator.

I think we can't describe the wrapped thing by itself... we
can only describe (wrapped thing + policy class).
I should write a concept for this...

On Wed, 20 Dec 2000, Dave Abrahams wrote:

abraha> While looking at revamping STLport's iterator debugging code using
abraha> iterator_adaptors as an example, it occurred to me that the wrapped
abraha> type need not be an iterator at all. Given the right policies class
abraha> and traits, you can make an iterator out of anything. It leaves me
abraha> wondering whether we should loosen the constraints for usage, and if
abraha> so, what exactly we're describing. Thoughts?
abraha>
abraha> -Dave
abraha>
abraha>
abraha>
abraha>
abraha>

----------------------------------------------------------------------
 Jeremy Siek www: http://www.lsc.nd.edu/~jsiek/
 Ph.D. Candidate email: jsiek_at_[hidden]
 Univ. of Notre Dame work phone: (219) 631-3906
----------------------------------------------------------------------


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