Boost logo

Boost :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-08-30 20:39:32


AMDG

David Abrahams wrote:
>> friend Iterator get_end(const filter_iterator& self) {
>> return
>> filter_iterator(
>> get_end(self.iter), get_end(self.iter), self.f);
>> }
>>
>> friend Iterator set_end(
>> const filter_iterator& self, const filter_iterator& other);
>>
>
> Hi Steven,
>
> Say for example Iterator is strided_iterator<int>. Then the return type
> of set_end above is strided_iterator<int>, right? So how will its body
> typecheck? Seems like this needs a little more thought.
>

Oops. I intended the return type to be filter_iterator.

In Christ,
Steven Watanabe


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