iostream question

Ben Liblit liblit@eecs.berkeley.edu
Thu Nov 7 02:47:00 GMT 2002


Robert Schweikert wrote:

> Since iostream is based on templates rather then the classes [...] 
> forward declarations obviously do not work anymore and I have some 
> converting to do.

This doesn't exactly answer the question you asked, but are you aware of 
the <iosfwd> header?  If you #include this in places where you 
previously had your own "class ostream;" forward declarations, some of 
your conversion task might be easier.

Good luck!



More information about the Gcc-help mailing list