Boost logo

Boost :

Subject: Re: [boost] [Iterator] Fixing the default reference type of transform_iterator (#5127)
From: Jeffrey Lee Hellrung, Jr. (jeffrey.hellrung_at_[hidden])
Date: 2012-04-18 22:00:16


On Wed, Apr 18, 2012 at 6:45 AM, Michel Morin <mimomorin_at_[hidden]> wrote:

> The default reference type of transform_iterator should be
> boost::result_of<const UnaryFunction(Iterator::reference)>
> rather than
> boost::result_of<UnaryFunction(Iterator::reference)>
> since the dereference operator of transform_iterator is a const
> member function.
>
> Ticket #5127 describes this bug
> https://svn.boost.org/trac/boost/ticket/5127
> and the ticket has a patch.
>
> Jeff, could you apply the patch, if it looks OK?
>

Sure, I'll try to get to it soon (presently doing an svn checkout on a new
laptop).

- Jeff


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