From Jason Turner

[re.regiter]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpyia_qqzr/{from.md → to.md} +10 -7
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
- // these members are shown for exposition only:
54
- BidirectionalIterator begin;
55
- BidirectionalIterator end;
56
- const regex_type* pregex;
57
- regex_constants::match_flag_type flags;
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` dereference <a id="re.regiter.deref">[[re.regiter.deref]]</a>
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