This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: iostream question
- From: Ben Liblit <liblit at eecs dot berkeley dot edu>
- To: Robert Schweikert <rjschwei at cox dot net>
- Cc: gcc help <gcc-help at gcc dot gnu dot org>
- Date: Thu, 07 Nov 2002 02:47:24 -0800
- Subject: Re: iostream question
- References: <3DCA41C6.60503@cox.net>
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!