From c199f5c6fa7b5a6622a820ca53c5ec0c8c1b3ccb Mon Sep 17 00:00:00 2001 From: Denis Mikhailov Date: Sun, 31 Oct 2021 13:22:35 +0400 Subject: [PATCH 1/2] Update sequence.qbk --- doc/sequence.qbk | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/doc/sequence.qbk b/doc/sequence.qbk index 4625f8a5..dbd1456b 100644 --- a/doc/sequence.qbk +++ b/doc/sequence.qbk @@ -166,7 +166,7 @@ Bidirectional Sequence the following must be met: [[`__back__(s)`] [Any type] [] [Constant]] [[`__back__(s) = o`] [Any type] [`s` is mutable and `e = o`, where `e` - is the first element + is the last element in the sequence, is a valid expression.] [Constant]] ] @@ -237,14 +237,14 @@ any Random Access Sequence the following must be met: [[`__at_c__(s)`] [Any type] [] [Constant]] [[`__at_c__(s) = o`] [Any type] [`s` is mutable and `e = o`, where `e` - is the first element - in the sequence, is + is the N-th element from the beginning + of the sequence, is a valid expression.] [Constant]] [[`__at__(s)`] [Any type] [] [Constant]] [[`__at__(s) = o`] [Any type] [`s` is mutable and `e = o`, where `e` - is the first element - in the sequence, is + is the M-th element from the beginning + of the sequence, is a valid expression.] [Constant]] ] @@ -321,8 +321,7 @@ For any Associative Sequence the following expressions must be valid: [[`__at_key__(s)`] [Any type] [] [Constant]] [[`__at_key__(s) = o`] [Any type] [`s` is mutable and `e = o`, where `e` - is the first element - in the sequence, is + is the element associated with K, is a valid expression.] [Constant]] ] From 25f12dedc8beb09ec653e13eb8f85e7d591eeaad Mon Sep 17 00:00:00 2001 From: Denis Mikhailov Date: Sun, 31 Oct 2021 13:32:28 +0400 Subject: [PATCH 2/2] Update sequence.qbk --- doc/sequence.qbk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/sequence.qbk b/doc/sequence.qbk index dbd1456b..6f50fe21 100644 --- a/doc/sequence.qbk +++ b/doc/sequence.qbk @@ -713,11 +713,11 @@ Returns the M-th element from the beginning of the sequence. [heading Synopsis] template - typename __result_of_at__::type + typename __result_of_at__::type at(Sequence& seq); template - typename __result_of_at__::type + typename __result_of_at__::type at(Sequence const& seq); [heading Parameters]