Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 1999-11-26 16:52:18


On closer inspection, your code takes a different approach than what I
was thinking of in terms of how the inheritance works. I didn't see
an example, so I'm guessing, but is bidirectional_iterator_helper
suppose to be used as a base class for the iterator getting help? (in
which case I don't see how the technique works due to an incomplete
type). So did you intend something different in how
bidirectional_iterator_helper is used?

Valentin Bonnard writes:
> jsiek_at_[hidden] wrote:
>
> > Just realized that I've been using the same principle behind
> > boost::operators to make the definition of all iterator operations
> > easier. Would there be an interest for an iterator_ops class?
>
> Already done (except that my code probably isn't working,
> like 99% of all the code I write):
>
> http://www.eleves.ens.fr:8080/home/bonnard/NewLibs/Utils/iterators_utils.H
>
> --
>
> Valentin Bonnard

----------------------------------------------------------------------
 Jeremy Siek
 Ph.D. Candidate email: jsiek_at_[hidden]
 Univ. of Notre Dame work phone: (650) 933-8724
 and cell phone: (415) 377-5814
 C++ Library & Compiler Group fax: (650) 932-0127
 SGI www: http://www.lsc.nd.edu/~jsiek/
----------------------------------------------------------------------


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