Boost logo

Boost :

Subject: Re: [boost] [iterator] counting_iterator and reverse iterator problem (was: [graph][iterators] csr graph and reverse iterator problem)
From: Takatoshi Kondo (kondo_at_[hidden])
Date: 2011-09-08 04:04:18


Hi,

On Thu, 8 Sep 2011 07:48:01 +0900
Michel Morin <mimomorin_at_[hidden]> wrote:

> Relevant ticket (#2640):
> https://svn.boost.org/trac/boost/ticket/2640
> Legal forward iterators cannot store their referents
> (was: counting_iterator::reference lifetime tied to iterator)

Thanks, I've understood what is the problem.
I think that when we write a generic algrithm using reverse_iterator
or make own iterator using counting_iterator, we should refer to this
problem in comment.

Anyway my problem has solved. Thanks again :)

Regards,
Takatoshi


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