mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-23 09:07:26 +02:00
Fix documentation typo of sequence concepts.
This commit is contained in:
@ -249,15 +249,18 @@ any Random Access Sequence the following must be met:
|
|||||||
[[Expression] [Compile Time Complexity]]
|
[[Expression] [Compile Time Complexity]]
|
||||||
[[`__result_of_begin__<S>::type`] [Amortized constant time]]
|
[[`__result_of_begin__<S>::type`] [Amortized constant time]]
|
||||||
[[`__result_of_end__<S>::type`] [Amortized constant time]]
|
[[`__result_of_end__<S>::type`] [Amortized constant time]]
|
||||||
[[`__result_of_at__<S, N>::type`] [Amortized constant time]]
|
[[`__result_of_at__<S, M>::type`] [Amortized constant time]]
|
||||||
[[`__result_of_value_at__<S, N>::type`] [Amortized constant time]]
|
[[`__result_of_at_c__<S, N>::type`] [Amortized constant time]]
|
||||||
|
[[`__result_of_value_at__<S, M>::type`] [Amortized constant time]]
|
||||||
|
[[`__result_of_value_at_c__<S, N>::type`] [Amortized constant time]]
|
||||||
]
|
]
|
||||||
|
|
||||||
[blurb __note__ `__result_of_at__<S, N>` returns the actual type returned by
|
[blurb __note__ `__result_of_at__<S, M>` returns the actual type returned by
|
||||||
`__at__<N>(s)`. In most cases, this is a reference. Hence, there is no way to
|
`__at__<M>(s)`. In most cases, this is a reference. Hence, there is no way to
|
||||||
know the exact element type using `__result_of_at__<S, N>`.The element at `N`
|
know the exact element type using `__result_of_at__<S, M>`.The element at `M`
|
||||||
may actually be a reference to begin with. For this purpose, you can use
|
may actually be a reference to begin with. For this purpose, you can use
|
||||||
`__result_of_value_at__<S, N>`.]
|
`__result_of_value_at__<S, M>` (Note that, `__result_of_value_at_c__<S, N>`
|
||||||
|
is a counterpart of `__result_of_at_c__<S, N>` as well).]
|
||||||
|
|
||||||
[heading Expression Semantics]
|
[heading Expression Semantics]
|
||||||
|
|
||||||
@ -331,7 +334,7 @@ For any Associative Sequence the following expressions must be valid:
|
|||||||
by `__at_key__<K>(s)`. In most cases, this is a reference. Hence, there is no
|
by `__at_key__<K>(s)`. In most cases, this is a reference. Hence, there is no
|
||||||
way to know the exact element type using `__result_of_at_key__<S, K>`.The
|
way to know the exact element type using `__result_of_at_key__<S, K>`.The
|
||||||
element at `K` may actually be a reference to begin with. For this purpose,
|
element at `K` may actually be a reference to begin with. For this purpose,
|
||||||
you can use `__result_of_value_at_key__<S, N>`.]
|
you can use `__result_of_value_at_key__<S, K>`.]
|
||||||
|
|
||||||
[heading Expression Semantics]
|
[heading Expression Semantics]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user