[net.lang.c++] Destruction of an istream.

stephen@comp.lancs.ac.uk (Stephen J. Muir) (11/07/86)

I created a file using the ::open routine, then bound it to an istream:

fd = open ("file", 0);
istream myfile (fd, 0);

When the istream went out of scope, the file was not closed!  Is this a bug or
was it because I opened the file myself?
-- 
EMAIL:	stephen@comp.lancs.ac.uk	| Post: University of Lancaster,
UUCP:	...!mcvax!ukc!dcl-cs!stephen	|	Department of Computing,
Phone:	+44 524 65201 Ext. 4120		|	Bailrigg, Lancaster, UK.
Project:Alvey ECLIPSE Distribution	|	LA1 4YR