This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: iostream question


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!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]