From Jason Turner

[iterator.iterators]

Diff to HTML by rtfpessoa

tmp/tmpsiw4ageu/{from.md → to.md} RENAMED
@@ -3,19 +3,18 @@
3
  The *Cpp17Iterator* requirements form the basis of the iterator
4
  taxonomy; every iterator meets the *Cpp17Iterator* requirements. This
5
  set of requirements specifies operations for dereferencing and
6
  incrementing an iterator. Most algorithms will require additional
7
  operations to read [[input.iterators]] or write [[output.iterators]]
8
- values, or to provide a richer set of iterator movements (
9
- [[forward.iterators]], [[bidirectional.iterators]],
10
- [[random.access.iterators]]).
11
 
12
- A type `X` meets the *Cpp17Iterator* requirements if:
13
 
14
- - `X` meets the *Cpp17CopyConstructible*, *Cpp17CopyAssignable*, and
15
- *Cpp17Destructible* requirements [[utility.arg.requirements]] and
16
- lvalues of type `X` are swappable [[swappable.requirements]], and
17
  - `iterator_traits<X>::difference_type` is a signed integer type or
18
  `void`, and
19
  - the expressions in [[iterator]] are valid and have the indicated
20
  semantics.
21
 
 
3
  The *Cpp17Iterator* requirements form the basis of the iterator
4
  taxonomy; every iterator meets the *Cpp17Iterator* requirements. This
5
  set of requirements specifies operations for dereferencing and
6
  incrementing an iterator. Most algorithms will require additional
7
  operations to read [[input.iterators]] or write [[output.iterators]]
8
+ values, or to provide a richer set of iterator movements
9
+ [[forward.iterators]], [[bidirectional.iterators]], [[random.access.iterators]].
 
10
 
11
+ A type `X` meets the requirements if:
12
 
13
+ - `X` meets the *Cpp17CopyConstructible*, *Cpp17CopyAssignable*,
14
+ *Cpp17Swappable*, and *Cpp17Destructible* requirements
15
+ [[utility.arg.requirements]], [[swappable.requirements]], and
16
  - `iterator_traits<X>::difference_type` is a signed integer type or
17
  `void`, and
18
  - the expressions in [[iterator]] are valid and have the indicated
19
  semantics.
20