tmp/tmp929g7nvo/{from.md → to.md}
RENAMED
|
@@ -1,16 +1,18 @@
|
|
| 1 |
-
#### Iterator support <a id="span.iterators">[[span.iterators]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
using iterator = implementation-defined // type of span::iterator;
|
| 5 |
```
|
| 6 |
|
| 7 |
The type models `contiguous_iterator` [[iterator.concept.contiguous]],
|
| 8 |
meets the *Cpp17RandomAccessIterator*
|
| 9 |
requirements [[random.access.iterators]], and meets the requirements for
|
| 10 |
-
constexpr iterators [[iterator.requirements.general]]
|
| 11 |
-
|
|
|
|
|
|
|
| 12 |
`span::iterator` as well.
|
| 13 |
|
| 14 |
``` cpp
|
| 15 |
constexpr iterator begin() const noexcept;
|
| 16 |
```
|
|
|
|
| 1 |
+
##### Iterator support <a id="span.iterators">[[span.iterators]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
using iterator = implementation-defined // type of span::iterator;
|
| 5 |
```
|
| 6 |
|
| 7 |
The type models `contiguous_iterator` [[iterator.concept.contiguous]],
|
| 8 |
meets the *Cpp17RandomAccessIterator*
|
| 9 |
requirements [[random.access.iterators]], and meets the requirements for
|
| 10 |
+
constexpr iterators [[iterator.requirements.general]], whose value type
|
| 11 |
+
is `value_type` and whose reference type is `reference`.
|
| 12 |
+
|
| 13 |
+
All requirements on container iterators [[container.reqmts]] apply to
|
| 14 |
`span::iterator` as well.
|
| 15 |
|
| 16 |
``` cpp
|
| 17 |
constexpr iterator begin() const noexcept;
|
| 18 |
```
|