tmp/tmpn_xc9792/{from.md → to.md}
RENAMED
|
@@ -1,7 +1,9 @@
|
|
| 1 |
### Class template `fpos` <a id="fpos">[[fpos]]</a>
|
| 2 |
|
|
|
|
|
|
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
template<class stateT> class fpos {
|
| 6 |
public:
|
| 7 |
// [fpos.members], members
|
|
@@ -18,17 +20,17 @@ namespace std {
|
|
| 18 |
|
| 19 |
``` cpp
|
| 20 |
void state(stateT s);
|
| 21 |
```
|
| 22 |
|
| 23 |
-
*Effects:* Assigns `s` to
|
| 24 |
|
| 25 |
``` cpp
|
| 26 |
stateT state() const;
|
| 27 |
```
|
| 28 |
|
| 29 |
-
*Returns:* Current value of
|
| 30 |
|
| 31 |
#### Requirements <a id="fpos.operations">[[fpos.operations]]</a>
|
| 32 |
|
| 33 |
An `fpos` type specifies file position information. It holds a state
|
| 34 |
object whose type is equal to the template parameter `stateT`. Type
|
|
|
|
| 1 |
### Class template `fpos` <a id="fpos">[[fpos]]</a>
|
| 2 |
|
| 3 |
+
#### General <a id="fpos.general">[[fpos.general]]</a>
|
| 4 |
+
|
| 5 |
``` cpp
|
| 6 |
namespace std {
|
| 7 |
template<class stateT> class fpos {
|
| 8 |
public:
|
| 9 |
// [fpos.members], members
|
|
|
|
| 20 |
|
| 21 |
``` cpp
|
| 22 |
void state(stateT s);
|
| 23 |
```
|
| 24 |
|
| 25 |
+
*Effects:* Assigns `s` to *st*.
|
| 26 |
|
| 27 |
``` cpp
|
| 28 |
stateT state() const;
|
| 29 |
```
|
| 30 |
|
| 31 |
+
*Returns:* Current value of *st*.
|
| 32 |
|
| 33 |
#### Requirements <a id="fpos.operations">[[fpos.operations]]</a>
|
| 34 |
|
| 35 |
An `fpos` type specifies file position information. It holds a state
|
| 36 |
object whose type is equal to the template parameter `stateT`. Type
|