fpos::fpos

fpos(St state, fpos_t fposn);
fpos(streamoff off);

The first constructor stores a zero offset and the objects state and fposn. The second constructor stores the offset off, relative to the beginning of file and in the initial conversion state (if that matters). If off is -1, the resulting object represents an invalid stream position.