fpos Class Template Reference
Class representing stream positions.
More...
List of all members.
Public Member Functions
Detailed Description
template<typename _StateT>
class std::fpos< _StateT >
The standard places no requirements upon the template parameter StateT. In this implementation StateT must be DefaultConstructible, CopyConstructible and Assignable. The standard only requires that
fpos should contain a member of type StateT. In this implementation it also contains an offset stored as a signed integer.
- Parameters:
-
| StateT | Type passed to and returned from state(). |
Definition at line 95 of file postypes.h.
Constructor & Destructor Documentation
Construct position from offset.
Definition at line 116 of file postypes.h.
Member Function Documentation
| bool operator!= |
( |
const fpos< _StateT > & |
__other |
) |
const [inline] |
Add position and offset.
Definition at line 175 of file postypes.h.
Add offset to this position.
Definition at line 151 of file postypes.h.
| streamoff operator- |
( |
const fpos< _StateT > & |
__other |
) |
const [inline] |
Subtract offset from position.
Definition at line 189 of file postypes.h.
Subtract offset from this position.
Definition at line 162 of file postypes.h.
| bool operator== |
( |
const fpos< _StateT > & |
__other |
) |
const [inline] |
| _StateT state |
( |
|
) |
const [inline] |
| void state |
( |
_StateT |
__st |
) |
[inline] |
Remember the value of st.
Definition at line 124 of file postypes.h.
The documentation for this class was generated from the following file: