tmp/tmpah0xgmza/{from.md → to.md}
RENAMED
|
@@ -1,10 +1,18 @@
|
|
| 1 |
-
#### Class
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
-
template
|
| 6 |
class istreambuf_iterator<charT, traits>::proxy { // exposition only
|
| 7 |
charT keep_;
|
| 8 |
basic_streambuf<charT,traits>* sbuf_;
|
| 9 |
proxy(charT c, basic_streambuf<charT,traits>* sbuf)
|
| 10 |
: keep_(c), sbuf_(sbuf) { }
|
|
@@ -12,13 +20,5 @@ namespace std {
|
|
| 12 |
charT operator*() { return keep_; }
|
| 13 |
};
|
| 14 |
}
|
| 15 |
```
|
| 16 |
|
| 17 |
-
Class `istreambuf_iterator<charT,traits>::proxy` is for exposition only.
|
| 18 |
-
An implementation is permitted to provide equivalent functionality
|
| 19 |
-
without providing a class with this name. Class
|
| 20 |
-
`istreambuf_iterator<charT, traits>::proxy` provides a temporary
|
| 21 |
-
placeholder as the return value of the post-increment operator
|
| 22 |
-
(`operator++`). It keeps the character pointed to by the previous value
|
| 23 |
-
of the iterator for some possible future access to get the character.
|
| 24 |
-
|
|
|
|
| 1 |
+
#### Class `istreambuf_iterator::proxy` <a id="istreambuf.iterator.proxy">[[istreambuf.iterator.proxy]]</a>
|
| 2 |
+
|
| 3 |
+
Class `istreambuf_iterator<charT,traits>::proxy` is for exposition only.
|
| 4 |
+
An implementation is permitted to provide equivalent functionality
|
| 5 |
+
without providing a class with this name. Class
|
| 6 |
+
`istreambuf_iterator<charT, traits>::proxy` provides a temporary
|
| 7 |
+
placeholder as the return value of the post-increment operator
|
| 8 |
+
(`operator++`). It keeps the character pointed to by the previous value
|
| 9 |
+
of the iterator for some possible future access to get the character.
|
| 10 |
|
| 11 |
``` cpp
|
| 12 |
namespace std {
|
| 13 |
+
template<class charT, class traits>
|
| 14 |
class istreambuf_iterator<charT, traits>::proxy { // exposition only
|
| 15 |
charT keep_;
|
| 16 |
basic_streambuf<charT,traits>* sbuf_;
|
| 17 |
proxy(charT c, basic_streambuf<charT,traits>* sbuf)
|
| 18 |
: keep_(c), sbuf_(sbuf) { }
|
|
|
|
| 20 |
charT operator*() { return keep_; }
|
| 21 |
};
|
| 22 |
}
|
| 23 |
```
|
| 24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|