Boost logo

Boost :

Subject: [boost] [Iterator] Fixing the default reference type of transform_iterator (#5127)
From: Michel Morin (mimomorin_at_[hidden])
Date: 2012-04-18 09:45:13


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?

Regards,
Michel


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