Index: libs/iterator/doc/transform_iterator.html =================================================================== --- libs/iterator/doc/transform_iterator.html (revision 68460) +++ libs/iterator/doc/transform_iterator.html (working copy) @@ -99,7 +99,7 @@

If Reference is use_default then the reference member of transform_iterator is -result_of<UnaryFunction(iterator_traits<Iterator>::reference)>::type. +result_of<const UnaryFunction(iterator_traits<Iterator>::reference)>::type. Otherwise, reference is Reference.

If Value is use_default then the value_type member is remove_cv<remove_reference<reference> >::type. Otherwise, @@ -117,10 +117,10 @@

transform_iterator requirements

The type UnaryFunction must be Assignable, Copy Constructible, and -the expression f(*i) must be valid where f is an object of +the expression f(*i) must be valid where f is a const object of type UnaryFunction, i is an object of type Iterator, and where the type of f(*i) must be -result_of<UnaryFunction(iterator_traits<Iterator>::reference)>::type.

+result_of<const UnaryFunction(iterator_traits<Iterator>::reference)>::type.

The argument Iterator shall model Readable Iterator.

Index: libs/iterator/doc/transform_iterator_ref.rst =================================================================== --- libs/iterator/doc/transform_iterator_ref.rst (revision 68460) +++ libs/iterator/doc/transform_iterator_ref.rst (working copy) @@ -41,7 +41,7 @@ If ``Reference`` is ``use_default`` then the ``reference`` member of ``transform_iterator`` is -``result_of::reference)>::type``. +``result_of::reference)>::type``. Otherwise, ``reference`` is ``Reference``. If ``Value`` is ``use_default`` then the ``value_type`` member is @@ -64,10 +64,10 @@ ................................... The type ``UnaryFunction`` must be Assignable, Copy Constructible, and -the expression ``f(*i)`` must be valid where ``f`` is an object of +the expression ``f(*i)`` must be valid where ``f`` is a const object of type ``UnaryFunction``, ``i`` is an object of type ``Iterator``, and where the type of ``f(*i)`` must be -``result_of::reference)>::type``. +``result_of::reference)>::type``. The argument ``Iterator`` shall model Readable Iterator.