Commit 80f0d49
authored
Breaking: Remove
`file` (which extends `std::iostream`) still provides `rdbuf() ->
std::streambuf` which can be used for lower level I/O
`std::filebuf` (and `tmp::filebuf`) only provides `open`, `is_open` and
`close` methods:
- `open` - we don't want the user to be able to reopen another file from
the temporary file
- `close` - we don't want `file` to exist in a closed state
- `is_open` - will only return `false` for relocated `file` objectsfile::rdbuf (#173)1 parent 462aeec commit 80f0d49
3 files changed
+2
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | 71 | | |
76 | 72 | | |
77 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 42 | | |
47 | 43 | | |
48 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments