fpos::fpos

fpos(streamoff off);
explicit fpos(St state);

The first 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.

The second constructor stores a zero offset and the object state.