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.
StateT | Type passed to and returned from state(). |
Definition at line 91 of file postypes.h.
streamoff std::fpos< _StateT >::operator- | ( | const fpos< _StateT > & | __other | ) | const [inline] |
Subtract position to return offset.
Definition at line 184 of file postypes.h.
References std::fpos< _StateT >::_M_off.
_StateT std::fpos< _StateT >::state | ( | ) | const [inline] |
void std::fpos< _StateT >::state | ( | _StateT | __st | ) | [inline] |