Searched refs:badbit (Results 1 – 2 of 2) sorted by relevance
71 badbit = (1 << 0), enumerator88 inline bool bad (void) const { return (rdstate() & badbit); } in bad()90 inline bool fail (void) const { return (rdstate() & (badbit | failbit)); } in fail()
59 …assert (!(rdstate() & badbit) && "close failed in the destructor! This may lead to loss of user da… in ~fstream()78 if (nfd < 0 && ios_base::set_and_throw (badbit)) in attach()131 set_and_throw (badbit | failbit, "close"); in close()