transform_iterator::reference

Hi,
Boost 1.42.0 documentation of transfrom_iterator says: "If Reference is
use_default then the reference member of transform_iterator is
result_of

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
::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

Thanks! It is definitely good news. However I have to use workaround nowadays. :) Michel MORIN wrote:
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
::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
participants (2)
-
Matwey V. Kornilov
-
Michel MORIN