Boost logo

Boost :

Subject: Re: [boost] lifetime of ranges vs. iterators
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-09-03 11:24:24


Arno Schödl wrote:
> As with these end checks, what if dereference would throw exceptions? End checks gone, all the way up the stack...

Unfortunately not.

This simply moves the check into the dereference operation
Also, remember that a filter_iterator dereferences iterator
in it's operator++, so you the number of comparisons is unchanged.

In Christ,
Steven Watanabe

Boost list run by bdawes at, gregod at, cpdaniel at, john at