From Jason Turner

[ostream.seeks]

Diff to HTML by rtfpessoa

tmp/tmptzyoddn1/{from.md → to.md} RENAMED
@@ -9,22 +9,22 @@ pos_type tellp();
9
 
10
  *Returns:* If `fail() != false`, returns `pos_type(-1)` to indicate
11
  failure. Otherwise, returns `rdbuf()->pubseekoff(0, cur, out)`.
12
 
13
  ``` cpp
14
- basic_ostream<charT, traits>& seekp(pos_type pos);
15
  ```
16
 
17
  *Effects:* If `fail() != true`, executes
18
  `rdbuf()->pubseekpos(pos, ios_base::out)`. In case of failure, the
19
  function calls `setstate(failbit)` (which may throw
20
  `ios_base::failure`).
21
 
22
  *Returns:* `*this`.
23
 
24
  ``` cpp
25
- basic_ostream<charT, traits>& seekp(off_type off, ios_base::seekdir dir);
26
  ```
27
 
28
  *Effects:* If `fail() != true`, executes
29
  `rdbuf()->pubseekoff(off, dir, ios_base::out)`. In case of failure, the
30
  function calls `setstate(failbit)` (which may throw
 
9
 
10
  *Returns:* If `fail() != false`, returns `pos_type(-1)` to indicate
11
  failure. Otherwise, returns `rdbuf()->pubseekoff(0, cur, out)`.
12
 
13
  ``` cpp
14
+ basic_ostream& seekp(pos_type pos);
15
  ```
16
 
17
  *Effects:* If `fail() != true`, executes
18
  `rdbuf()->pubseekpos(pos, ios_base::out)`. In case of failure, the
19
  function calls `setstate(failbit)` (which may throw
20
  `ios_base::failure`).
21
 
22
  *Returns:* `*this`.
23
 
24
  ``` cpp
25
+ basic_ostream& seekp(off_type off, ios_base::seekdir dir);
26
  ```
27
 
28
  *Effects:* If `fail() != true`, executes
29
  `rdbuf()->pubseekoff(off, dir, ios_base::out)`. In case of failure, the
30
  function calls `setstate(failbit)` (which may throw