Skip to content

Commit a6fcf99

Browse files
authored
Merge pull request #15 from limdor/main
Incorporate LWG feedback
2 parents 61c4b0d + b3fdafd commit a6fcf99

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

paper.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: mdspan.at()
3-
document: P3383R2
3+
document: P3383R3
44
date: today
55
audience:
66
- Library Working Group (LWG)
@@ -18,6 +18,10 @@ This paper proposes element access with bounds checking to `std::mdspan` via `at
1818

1919
# Revision history
2020

21+
## R3
22+
23+
- Swap paragraph 8 and 9 and use `I` instead of `indices`
24+
2125
## R2
2226

2327
- Remove feature test macro bump requested by LEWG
@@ -99,9 +103,9 @@ In 23.7.3.6.3 ([[mdspan.mdspan.members]](https://eel.is/c++draft/mdspan.mdspan.m
99103
> - [7.2]{.pnum} `(is_nothrow_constructible_v<index_type, OtherIndexTypes> && ...)` is `true`, and
100104
> - [7.3]{.pnum} `sizeof...(OtherIndexTypes) == rank()` is `true`.
101105
>
102-
> [8]{.pnum} *Returns:* `(*this)[indices...]`.
103-
>
104-
> [9]{.pnum} Let `I` be `extents_type::`*`index_cast`*`(std::move(indices))`.
106+
> [8]{.pnum} Let `I` be `extents_type::`*`index_cast`*`(std::move(indices))`.
107+
>
108+
> [9]{.pnum} *Returns:* `(*this)[I...]`.
105109
>
106110
> [10]{.pnum} *Throws:* `out_of_range` if `I` is not a multidimensional index in `extents()`.
107111
>

0 commit comments

Comments
 (0)