X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: J Newsgroups: comp.lang.c++,comp.os.msdos.djgpp Subject: Reopening ifstream objects Date: Thu, 27 Dec 2001 01:59:12 GMT Organization: Fac. Wiskunde & Informatica, VU, Amsterdam Lines: 5 Message-ID: NNTP-Posting-Host: kits.cs.vu.nl User-Agent: tin/pre-1.4-19990927 ("Nine While Nine") (UNIX) (SunOS/5.8 (sun4u)) Cancel-Lock: sha1:z5sR0xR6avf8pehEhYawWq4vrH0= To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com If the construction of an ifstream object fails in the sense that its boolean value has become false (e.g. because the supplied file doesn't exist), but later on its member function open is successfully called, should the boolean value of the object be true again? If it should, my compiler (DJGPP 3.02) has a bug.