tmp/tmpytld4yo0/{from.md → to.md}
RENAMED
|
@@ -1,19 +1,17 @@
|
|
| 1 |
-
### General <a id="re.submatch.general">[[re.submatch.general]]</a>
|
| 2 |
|
| 3 |
Class template `sub_match` denotes the sequence of characters matched by
|
| 4 |
a particular marked sub-expression.
|
| 5 |
|
| 6 |
``` cpp
|
| 7 |
namespace std {
|
| 8 |
template<class BidirectionalIterator>
|
| 9 |
class sub_match : public pair<BidirectionalIterator, BidirectionalIterator> {
|
| 10 |
public:
|
| 11 |
-
using value_type =
|
| 12 |
-
|
| 13 |
-
using difference_type =
|
| 14 |
-
typename iterator_traits<BidirectionalIterator>::difference_type;
|
| 15 |
using iterator = BidirectionalIterator;
|
| 16 |
using string_type = basic_string<value_type>;
|
| 17 |
|
| 18 |
bool matched;
|
| 19 |
|
|
|
|
| 1 |
+
#### General <a id="re.submatch.general">[[re.submatch.general]]</a>
|
| 2 |
|
| 3 |
Class template `sub_match` denotes the sequence of characters matched by
|
| 4 |
a particular marked sub-expression.
|
| 5 |
|
| 6 |
``` cpp
|
| 7 |
namespace std {
|
| 8 |
template<class BidirectionalIterator>
|
| 9 |
class sub_match : public pair<BidirectionalIterator, BidirectionalIterator> {
|
| 10 |
public:
|
| 11 |
+
using value_type = iterator_traits<BidirectionalIterator>::value_type;
|
| 12 |
+
using difference_type = iterator_traits<BidirectionalIterator>::difference_type;
|
|
|
|
|
|
|
| 13 |
using iterator = BidirectionalIterator;
|
| 14 |
using string_type = basic_string<value_type>;
|
| 15 |
|
| 16 |
bool matched;
|
| 17 |
|