From 0360dc44b24d77c2e806d40dee2fa58bfa8ed423 Mon Sep 17 00:00:00 2001 From: Kohei Takahashi Date: Thu, 15 Jan 2015 17:48:17 +0900 Subject: [PATCH] Fix documentation typo of sequence concepts. --- doc/sequence.qbk | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/doc/sequence.qbk b/doc/sequence.qbk index 2d323e37..cf05a53d 100644 --- a/doc/sequence.qbk +++ b/doc/sequence.qbk @@ -249,15 +249,18 @@ any Random Access Sequence the following must be met: [[Expression] [Compile Time Complexity]] [[`__result_of_begin__::type`] [Amortized constant time]] [[`__result_of_end__::type`] [Amortized constant time]] - [[`__result_of_at__::type`] [Amortized constant time]] - [[`__result_of_value_at__::type`] [Amortized constant time]] + [[`__result_of_at__::type`] [Amortized constant time]] + [[`__result_of_at_c__::type`] [Amortized constant time]] + [[`__result_of_value_at__::type`] [Amortized constant time]] + [[`__result_of_value_at_c__::type`] [Amortized constant time]] ] -[blurb __note__ `__result_of_at__` returns the actual type returned by -`__at__(s)`. In most cases, this is a reference. Hence, there is no way to -know the exact element type using `__result_of_at__`.The element at `N` +[blurb __note__ `__result_of_at__` returns the actual type returned by +`__at__(s)`. In most cases, this is a reference. Hence, there is no way to +know the exact element type using `__result_of_at__`.The element at `M` may actually be a reference to begin with. For this purpose, you can use -`__result_of_value_at__`.] +`__result_of_value_at__` (Note that, `__result_of_value_at_c__` +is a counterpart of `__result_of_at_c__` as well).] [heading Expression Semantics] @@ -331,7 +334,7 @@ For any Associative Sequence the following expressions must be valid: by `__at_key__(s)`. In most cases, this is a reference. Hence, there is no way to know the exact element type using `__result_of_at_key__`.The element at `K` may actually be a reference to begin with. For this purpose, -you can use `__result_of_value_at_key__`.] +you can use `__result_of_value_at_key__`.] [heading Expression Semantics]