tmp/tmpm3r4ch7t/{from.md → to.md}
RENAMED
|
@@ -2,11 +2,11 @@
|
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
basic_filebuf<charT, traits>* rdbuf() const;
|
| 5 |
```
|
| 6 |
|
| 7 |
-
*Returns:* `const_cast<basic_filebuf<charT, traits>*>(
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
bool is_open() const;
|
| 11 |
```
|
| 12 |
|
|
@@ -22,11 +22,11 @@ void open(
|
|
| 22 |
```
|
| 23 |
|
| 24 |
*Effects:* Calls `rdbuf()->open(s, mode)`. If that function does not
|
| 25 |
return a null pointer calls `clear()`, otherwise calls
|
| 26 |
`setstate(failbit)` (which may throw
|
| 27 |
-
`ios_base::failure`)
|
| 28 |
|
| 29 |
``` cpp
|
| 30 |
void open(
|
| 31 |
const string& s,
|
| 32 |
ios_base::openmode mode = ios_base::in | ios_base::out);
|
|
@@ -41,7 +41,7 @@ void open(
|
|
| 41 |
void close();
|
| 42 |
```
|
| 43 |
|
| 44 |
*Effects:* Calls `rdbuf()->close()` and, if that function returns a null
|
| 45 |
pointer, calls `setstate(failbit)` (which may throw
|
| 46 |
-
`ios_base::failure`)
|
| 47 |
|
|
|
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
basic_filebuf<charT, traits>* rdbuf() const;
|
| 5 |
```
|
| 6 |
|
| 7 |
+
*Returns:* `const_cast<basic_filebuf<charT, traits>*>(addressof(sb))`.
|
| 8 |
|
| 9 |
``` cpp
|
| 10 |
bool is_open() const;
|
| 11 |
```
|
| 12 |
|
|
|
|
| 22 |
```
|
| 23 |
|
| 24 |
*Effects:* Calls `rdbuf()->open(s, mode)`. If that function does not
|
| 25 |
return a null pointer calls `clear()`, otherwise calls
|
| 26 |
`setstate(failbit)` (which may throw
|
| 27 |
+
`ios_base::failure`) [[iostate.flags]].
|
| 28 |
|
| 29 |
``` cpp
|
| 30 |
void open(
|
| 31 |
const string& s,
|
| 32 |
ios_base::openmode mode = ios_base::in | ios_base::out);
|
|
|
|
| 41 |
void close();
|
| 42 |
```
|
| 43 |
|
| 44 |
*Effects:* Calls `rdbuf()->close()` and, if that function returns a null
|
| 45 |
pointer, calls `setstate(failbit)` (which may throw
|
| 46 |
+
`ios_base::failure`) [[iostate.flags]].
|
| 47 |
|