From Jason Turner

[fpos]

Diff to HTML by rtfpessoa

tmp/tmpzwmth7sb/{from.md → to.md} RENAMED
@@ -2,11 +2,11 @@
2
 
3
  ``` cpp
4
  namespace std {
5
  template <class stateT> class fpos {
6
  public:
7
- // [fpos.members] Members
8
  stateT state() const;
9
  void state(stateT);
10
  private;
11
  stateT st; // exposition only
12
  };
@@ -17,11 +17,11 @@ namespace std {
17
 
18
  ``` cpp
19
  void state(stateT s);
20
  ```
21
 
22
- *Effects:* Assign `s` to `st`.
23
 
24
  ``` cpp
25
  stateT state() const;
26
  ```
27
 
@@ -37,14 +37,15 @@ are permitted. In that table,
37
  - `O` refers to type `streamoff`,
38
  - `o` refers to a value of type `streamoff`,
39
  - `sz` refers to a value of type `streamsize` and
40
  - `i` refers to a value of type `int`.
41
 
42
- Every implementation is required to supply overloaded operators on
43
- `fpos` objects to satisfy the requirements of  [[fpos.operations]]. It
44
- is unspecified whether these operators are members of `fpos`, global
45
- operators, or provided in some other way.
 
46
 
47
  Stream operations that return a value of type `traits::pos_type` return
48
  `P(O(-1))` as an invalid value to signal an error. If this value is used
49
  as an argument to any `istream`, `ostream`, or `streambuf` member that
50
  accepts a value of type `traits::pos_type` then the behavior of that
 
2
 
3
  ``` cpp
4
  namespace std {
5
  template <class stateT> class fpos {
6
  public:
7
+ // [fpos.members], members
8
  stateT state() const;
9
  void state(stateT);
10
  private;
11
  stateT st; // exposition only
12
  };
 
17
 
18
  ``` cpp
19
  void state(stateT s);
20
  ```
21
 
22
+ *Effects:* Assigns `s` to `st`.
23
 
24
  ``` cpp
25
  stateT state() const;
26
  ```
27
 
 
37
  - `O` refers to type `streamoff`,
38
  - `o` refers to a value of type `streamoff`,
39
  - `sz` refers to a value of type `streamsize` and
40
  - `i` refers to a value of type `int`.
41
 
42
+ [*Note 1*: Every implementation is required to supply overloaded
43
+ operators on `fpos` objects to satisfy the requirements of 
44
+ [[fpos.operations]]. It is unspecified whether these operators are
45
+ members of `fpos`, global operators, or provided in some other
46
+ way. — *end note*]
47
 
48
  Stream operations that return a value of type `traits::pos_type` return
49
  `P(O(-1))` as an invalid value to signal an error. If this value is used
50
  as an argument to any `istream`, `ostream`, or `streambuf` member that
51
  accepts a value of type `traits::pos_type` then the behavior of that