$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] lifetime of ranges vs. iterators
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-09-03 11:24:24
AMDG
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