basic_ios::operator!

bool operator!() const;

The operator returns fail().