tmp/tmp28z28gqy/{from.md → to.md}
RENAMED
|
@@ -1,36 +1,36 @@
|
|
| 1 |
-
####
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
-
iterator begin() noexcept;
|
| 5 |
-
const_iterator begin() const noexcept;
|
| 6 |
-
const_iterator cbegin() const noexcept;
|
| 7 |
```
|
| 8 |
|
| 9 |
*Returns:* An iterator referring to the first character in the string.
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
-
iterator end() noexcept;
|
| 13 |
-
const_iterator end() const noexcept;
|
| 14 |
-
const_iterator cend() const noexcept;
|
| 15 |
```
|
| 16 |
|
| 17 |
*Returns:* An iterator which is the past-the-end value.
|
| 18 |
|
| 19 |
``` cpp
|
| 20 |
-
reverse_iterator rbegin() noexcept;
|
| 21 |
-
const_reverse_iterator rbegin() const noexcept;
|
| 22 |
-
const_reverse_iterator crbegin() const noexcept;
|
| 23 |
```
|
| 24 |
|
| 25 |
*Returns:* An iterator which is semantically equivalent to
|
| 26 |
`reverse_iterator(end())`.
|
| 27 |
|
| 28 |
``` cpp
|
| 29 |
-
reverse_iterator rend() noexcept;
|
| 30 |
-
const_reverse_iterator rend() const noexcept;
|
| 31 |
-
const_reverse_iterator crend() const noexcept;
|
| 32 |
```
|
| 33 |
|
| 34 |
*Returns:* An iterator which is semantically equivalent to
|
| 35 |
`reverse_iterator(begin())`.
|
| 36 |
|
|
|
|
| 1 |
+
#### Iterator support <a id="string.iterators">[[string.iterators]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
+
constexpr iterator begin() noexcept;
|
| 5 |
+
constexpr const_iterator begin() const noexcept;
|
| 6 |
+
constexpr const_iterator cbegin() const noexcept;
|
| 7 |
```
|
| 8 |
|
| 9 |
*Returns:* An iterator referring to the first character in the string.
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
+
constexpr iterator end() noexcept;
|
| 13 |
+
constexpr const_iterator end() const noexcept;
|
| 14 |
+
constexpr const_iterator cend() const noexcept;
|
| 15 |
```
|
| 16 |
|
| 17 |
*Returns:* An iterator which is the past-the-end value.
|
| 18 |
|
| 19 |
``` cpp
|
| 20 |
+
constexpr reverse_iterator rbegin() noexcept;
|
| 21 |
+
constexpr const_reverse_iterator rbegin() const noexcept;
|
| 22 |
+
constexpr const_reverse_iterator crbegin() const noexcept;
|
| 23 |
```
|
| 24 |
|
| 25 |
*Returns:* An iterator which is semantically equivalent to
|
| 26 |
`reverse_iterator(end())`.
|
| 27 |
|
| 28 |
``` cpp
|
| 29 |
+
constexpr reverse_iterator rend() noexcept;
|
| 30 |
+
constexpr const_reverse_iterator rend() const noexcept;
|
| 31 |
+
constexpr const_reverse_iterator crend() const noexcept;
|
| 32 |
```
|
| 33 |
|
| 34 |
*Returns:* An iterator which is semantically equivalent to
|
| 35 |
`reverse_iterator(begin())`.
|
| 36 |
|