From Jason Turner

[stringbuf.virtuals]

Diff to HTML by rtfpessoa

tmp/tmpoucm1ex2/{from.md → to.md} RENAMED
@@ -19,11 +19,11 @@ sequence, if possible, in one of three ways:
19
  - If `traits::eq_int_type(c, traits::eof())` returns `false` and if the
20
  input sequence has a putback position available, and if
21
  `traits::eq(to_char_type(c), gptr()[-1])` returns `true`, assigns
22
  `gptr() - 1` to `gptr()`. Returns: `c`.
23
  - If `traits::eq_int_type(c, traits::eof())` returns `false` and if the
24
- input sequence has a putback position available, and if `mode` `&`
25
  `ios_base::out` is nonzero, assigns `c` to `*–gptr()`. Returns: `c`.
26
  - If `traits::eq_int_type(c, traits::eof())` returns `true` and if the
27
  input sequence has a putback position available, assigns `gptr() - 1`
28
  to `gptr()`. Returns: `traits::not_eof(c)`.
29
 
@@ -51,14 +51,14 @@ sequence, if possible, in one of two ways:
51
 
52
  *Remarks:* The function can alter the number of write positions
53
  available as a result of any call.
54
 
55
  The function can make a write position available only if `ios_base::out`
56
- is set in `mode`. To make a write position available, the function
57
  reallocates (or initially allocates) an array object with a sufficient
58
  number of elements to hold the current array object (if any), plus at
59
- least one additional write position. If `ios_base::in` is set in `mode`,
60
  the function alters the read end pointer `egptr()` to point just past
61
  the new write position.
62
 
63
  ``` cpp
64
  pos_type seekoff(off_type off, ios_base::seekdir way,
 
19
  - If `traits::eq_int_type(c, traits::eof())` returns `false` and if the
20
  input sequence has a putback position available, and if
21
  `traits::eq(to_char_type(c), gptr()[-1])` returns `true`, assigns
22
  `gptr() - 1` to `gptr()`. Returns: `c`.
23
  - If `traits::eq_int_type(c, traits::eof())` returns `false` and if the
24
+ input sequence has a putback position available, and if *mode* `&`
25
  `ios_base::out` is nonzero, assigns `c` to `*–gptr()`. Returns: `c`.
26
  - If `traits::eq_int_type(c, traits::eof())` returns `true` and if the
27
  input sequence has a putback position available, assigns `gptr() - 1`
28
  to `gptr()`. Returns: `traits::not_eof(c)`.
29
 
 
51
 
52
  *Remarks:* The function can alter the number of write positions
53
  available as a result of any call.
54
 
55
  The function can make a write position available only if `ios_base::out`
56
+ is set in *mode*. To make a write position available, the function
57
  reallocates (or initially allocates) an array object with a sufficient
58
  number of elements to hold the current array object (if any), plus at
59
+ least one additional write position. If `ios_base::in` is set in *mode*,
60
  the function alters the read end pointer `egptr()` to point just past
61
  the new write position.
62
 
63
  ``` cpp
64
  pos_type seekoff(off_type off, ios_base::seekdir way,