fpos::operator==

bool operator==(const fpos<St>& rhs) const;

The member function returns (streamoff)*this == (streamoff)rhs.