Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!udel!haven.umd.edu!mimsy!panache.cs.umd.edu!davew From: davew@panache.cs.umd.edu (David G. Wonnacott) Newsgroups: comp.lang.c++ Subject: Re: cout in static object constructors Message-ID: <34862@mimsy.umd.edu> Date: 24 May 91 21:44:23 GMT References: <76LR01ly7a2m00@amdahl.uts.amdahl.com> <746@taumet.com> Sender: news@mimsy.umd.edu Reply-To: davew@panache.cs.umd.edu (David G. Wonnacott) Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 14 In article <746@taumet.com> steve@taumet.com (Stephen Clamage) writes: >With this in mind, iostreams were carefully designed to guarantee >that the standard streams are all initialized before any user-defined >objects are constructed, PROVIDED that you #include (or >some file which includes it, such as or ) >ahead of any static object which needs to use a standard stream. I believe this works with AT&T's iostream library, but not with the stream library distributed with G++. -- David Wonnacott davew@tove.cs.umd.edu Although the moon is smaller than the earth, it is further away.