From f7dfc36a9c190e575b8c9eb0622d31ded61579c9 Mon Sep 17 00:00:00 2001 From: morinmorin Date: Mon, 28 Aug 2017 20:39:10 +0900 Subject: [PATCH] Port rst docs changeset to quickbook (ad90dac). UnaryFunction is treated as a const object, but the documentation was missing the const qualification. --- doc/quickbook/transform_iterator.qbk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/quickbook/transform_iterator.qbk b/doc/quickbook/transform_iterator.qbk index adf30b8..847ec79 100644 --- a/doc/quickbook/transform_iterator.qbk +++ b/doc/quickbook/transform_iterator.qbk @@ -86,7 +86,7 @@ The source code for this example can be found If `Reference` is `use_default` then the `reference` member of `transform_iterator` is[br] -`result_of::reference)>::type`. +`result_of::reference)>::type`. Otherwise, `reference` is `Reference`. @@ -110,10 +110,10 @@ convertible to `input_iterator_tag`. 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.