Boost logo

Boost Users :

Subject: Re: [Boost-users] transform_iterator::reference
From: Michel MORIN (mimomorin_at_[hidden])
Date: 2011-01-06 11:28:36


Matwey V. Kornilov wrote:
> Boost 1.42.0 documentation of transfrom_iterator says: "If Reference is
> use_default then the reference member of transform_iterator is
> result_of<UnaryFunction(iterator_traits<Iterator>::reference)>::type.
> Otherwise, reference is Reference." But it is simply implemented as
> UnaryFunction::result_type;

This is fixed on trunk, but is not merged to release yet.
See the following ticket and thread:

https://svn.boost.org/trac/boost/ticket/1427
http://thread.gmane.org/gmane.comp.lib.boost.devel/211573

Hope this helps,
Michel


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net