fpos::operator-

streamoff operator-(const fpos<St>& rhs) const;
fpos<St> operator-(streamoff off) const;

The first member function returns (streamoff)*this - (streamoff)rhs. The second member function returns fpos<St>(*this) -= off.