tmp/tmpyia_qqzr/{from.md → to.md}
RENAMED
|
@@ -39,25 +39,28 @@ namespace std {
|
|
| 39 |
regex_iterator();
|
| 40 |
regex_iterator(BidirectionalIterator a, BidirectionalIterator b,
|
| 41 |
const regex_type& re,
|
| 42 |
regex_constants::match_flag_type m =
|
| 43 |
regex_constants::match_default);
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
regex_iterator(const regex_iterator&);
|
| 45 |
regex_iterator& operator=(const regex_iterator&);
|
| 46 |
bool operator==(const regex_iterator&) const;
|
| 47 |
bool operator!=(const regex_iterator&) const;
|
| 48 |
const value_type& operator*() const;
|
| 49 |
const value_type* operator->() const;
|
| 50 |
regex_iterator& operator++();
|
| 51 |
regex_iterator operator++(int);
|
| 52 |
private:
|
| 53 |
-
//
|
| 54 |
-
BidirectionalIterator
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
match_results<BidirectionalIterator> match;
|
| 59 |
};
|
| 60 |
}
|
| 61 |
```
|
| 62 |
|
| 63 |
An object of type `regex_iterator` that is not an end-of-sequence
|
|
@@ -106,11 +109,11 @@ otherwise `false`.
|
|
| 106 |
bool operator!=(const regex_iterator& right) const;
|
| 107 |
```
|
| 108 |
|
| 109 |
*Returns:* `!(*this == right)`.
|
| 110 |
|
| 111 |
-
#### `regex_iterator`
|
| 112 |
|
| 113 |
``` cpp
|
| 114 |
const value_type& operator*() const;
|
| 115 |
```
|
| 116 |
|
|
|
|
| 39 |
regex_iterator();
|
| 40 |
regex_iterator(BidirectionalIterator a, BidirectionalIterator b,
|
| 41 |
const regex_type& re,
|
| 42 |
regex_constants::match_flag_type m =
|
| 43 |
regex_constants::match_default);
|
| 44 |
+
regex_iterator(BidirectionalIterator a, BidirectionalIterator b,
|
| 45 |
+
const regex_type&& re,
|
| 46 |
+
regex_constants::match_flag_type m =
|
| 47 |
+
regex_constants::match_default) = delete;
|
| 48 |
regex_iterator(const regex_iterator&);
|
| 49 |
regex_iterator& operator=(const regex_iterator&);
|
| 50 |
bool operator==(const regex_iterator&) const;
|
| 51 |
bool operator!=(const regex_iterator&) const;
|
| 52 |
const value_type& operator*() const;
|
| 53 |
const value_type* operator->() const;
|
| 54 |
regex_iterator& operator++();
|
| 55 |
regex_iterator operator++(int);
|
| 56 |
private:
|
| 57 |
+
BidirectionalIterator begin; // exposition only
|
| 58 |
+
BidirectionalIterator end; // exposition only
|
| 59 |
+
const regex_type* pregex; // exposition only
|
| 60 |
+
regex_constants::match_flag_type flags; // exposition only
|
| 61 |
+
match_results<BidirectionalIterator> match; // exposition only
|
|
|
|
| 62 |
};
|
| 63 |
}
|
| 64 |
```
|
| 65 |
|
| 66 |
An object of type `regex_iterator` that is not an end-of-sequence
|
|
|
|
| 109 |
bool operator!=(const regex_iterator& right) const;
|
| 110 |
```
|
| 111 |
|
| 112 |
*Returns:* `!(*this == right)`.
|
| 113 |
|
| 114 |
+
#### `regex_iterator` indirection <a id="re.regiter.deref">[[re.regiter.deref]]</a>
|
| 115 |
|
| 116 |
``` cpp
|
| 117 |
const value_type& operator*() const;
|
| 118 |
```
|
| 119 |
|