From Jason Turner

[istream.iterator.ops]

Diff to HTML by rtfpessoa

tmp/tmpztbuiypi/{from.md → to.md} RENAMED
@@ -2,38 +2,38 @@
2
 
3
  ``` cpp
4
  const T& operator*() const;
5
  ```
6
 
7
- *Returns:* *value*.
8
 
9
  ``` cpp
10
  const T* operator->() const;
11
  ```
12
 
13
- *Returns:* `&(operator*())`.
14
 
15
  ``` cpp
16
- istream_iterator<T,charT,traits,Distance>& operator++();
17
  ```
18
 
19
  *Requires:* `in_stream != 0`.
20
 
21
- *Effects:* `*in_stream >>value`.
22
 
23
  *Returns:* `*this`.
24
 
25
  ``` cpp
26
- istream_iterator<T,charT,traits,Distance> operator++(int);
27
  ```
28
 
29
  *Requires:* `in_stream != 0`.
30
 
31
- *Effects:*
32
 
33
  ``` cpp
34
- istream_iterator<T,charT,traits,Distance> tmp = *this;
35
  *in_stream >> value;
36
  return (tmp);
37
  ```
38
 
39
  ``` cpp
 
2
 
3
  ``` cpp
4
  const T& operator*() const;
5
  ```
6
 
7
+ *Returns:* `value`.
8
 
9
  ``` cpp
10
  const T* operator->() const;
11
  ```
12
 
13
+ *Returns:* `addressof(operator*())`.
14
 
15
  ``` cpp
16
+ istream_iterator& operator++();
17
  ```
18
 
19
  *Requires:* `in_stream != 0`.
20
 
21
+ *Effects:* As if by: `*in_stream >> value;`
22
 
23
  *Returns:* `*this`.
24
 
25
  ``` cpp
26
+ istream_iterator operator++(int);
27
  ```
28
 
29
  *Requires:* `in_stream != 0`.
30
 
31
+ *Effects:* As if by:
32
 
33
  ``` cpp
34
+ istream_iterator tmp = *this;
35
  *in_stream >> value;
36
  return (tmp);
37
  ```
38
 
39
  ``` cpp