tmp/tmp7rvwsq5r/{from.md → to.md}
RENAMED
|
@@ -14,9 +14,11 @@ basic_ostream<charT,traits>& seekp(pos_type pos);
|
|
| 14 |
``` cpp
|
| 15 |
basic_ostream<charT,traits>& seekp(off_type off, ios_base::seekdir dir);
|
| 16 |
```
|
| 17 |
|
| 18 |
*Effects:* If `fail() != true`, executes
|
| 19 |
-
`rdbuf()->pubseekoff(off, dir, ios_base::out)`.
|
|
|
|
|
|
|
| 20 |
|
| 21 |
*Returns:* `*this`.
|
| 22 |
|
|
|
|
| 14 |
``` cpp
|
| 15 |
basic_ostream<charT,traits>& seekp(off_type off, ios_base::seekdir dir);
|
| 16 |
```
|
| 17 |
|
| 18 |
*Effects:* If `fail() != true`, executes
|
| 19 |
+
`rdbuf()->pubseekoff(off, dir, ios_base::out)`. In case of failure, the
|
| 20 |
+
function calls `setstate(failbit)` (which may throw
|
| 21 |
+
`ios_base::failure`).
|
| 22 |
|
| 23 |
*Returns:* `*this`.
|
| 24 |
|