fpos (streamoff __off)
Construct position from offset.
operator streamoff () const
Convert to streamoff.
fpos operator+ (streamoff __off) const
Add position and offset.
fpos & operator+= (streamoff __off)
Add offset to this position.
fpos operator- (streamoff __off) const
Subtract offset from position.
streamoff operator- (const fpos &__other) const
Subtract position to return offset.
fpos & operator-= (streamoff __off)
Subtract offset from this position.
void state (_StateT __st)
Remember the value of st.
_StateT state () const
Return the last set value of st.
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:
Definition at line 112 of file postypes.h.
Construct position from offset.
Definition at line 133 of file postypes.h.
Convert to streamoff.
Definition at line 137 of file postypes.h.
Add position and offset.
Definition at line 178 of file postypes.h.
Add offset to this position.
Definition at line 154 of file postypes.h.
Subtract offset from position.
Definition at line 192 of file postypes.h.
Subtract position to return offset.
Definition at line 205 of file postypes.h.
Subtract offset from this position.
Definition at line 165 of file postypes.h.
Remember the value of st.
Definition at line 141 of file postypes.h.
Return the last set value of st.
Definition at line 146 of file postypes.h.
Generated automatically by Doxygen for libstdc++ from the source code.