tmp/tmppai7exz0/{from.md → to.md}
RENAMED
|
@@ -2,19 +2,19 @@
|
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
int_type sputbackc(char_type c);
|
| 5 |
```
|
| 6 |
|
| 7 |
-
*
|
| 8 |
if `traits::eq(c, gptr()[-1])` is `false`, returns
|
| 9 |
`pbackfail(traits::to_int_type(c))`. Otherwise, decrements the next
|
| 10 |
pointer for the input sequence and returns
|
| 11 |
`traits::to_int_type(*gptr())`.
|
| 12 |
|
| 13 |
``` cpp
|
| 14 |
int_type sungetc();
|
| 15 |
```
|
| 16 |
|
| 17 |
-
*
|
| 18 |
returns `pbackfail()`. Otherwise, decrements the next pointer for the
|
| 19 |
input sequence and returns `traits::to_int_type(*gptr())`.
|
| 20 |
|
|
|
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
int_type sputbackc(char_type c);
|
| 5 |
```
|
| 6 |
|
| 7 |
+
*Effects:* If the input sequence putback position is not available, or
|
| 8 |
if `traits::eq(c, gptr()[-1])` is `false`, returns
|
| 9 |
`pbackfail(traits::to_int_type(c))`. Otherwise, decrements the next
|
| 10 |
pointer for the input sequence and returns
|
| 11 |
`traits::to_int_type(*gptr())`.
|
| 12 |
|
| 13 |
``` cpp
|
| 14 |
int_type sungetc();
|
| 15 |
```
|
| 16 |
|
| 17 |
+
*Effects:* If the input sequence putback position is not available,
|
| 18 |
returns `pbackfail()`. Otherwise, decrements the next pointer for the
|
| 19 |
input sequence and returns `traits::to_int_type(*gptr())`.
|
| 20 |
|