This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
iostream question
- From: Robert Schweikert <rjschwei at cox dot net>
- To: gcc help <gcc-help at gcc dot gnu dot org>
- Date: Thu, 07 Nov 2002 05:34:46 -0500
- Subject: iostream question
Somewhere between gcc 2.95 and gcc 3.2 gcc started to support the
standrds compliant iostream, rather than the historic iostream.h. Since
iostream is based on templates rather then the classes
class ostream;
forward declarations obviously do not work anymore and I have some
converting to do. Two questions with respect to iostream.
- is there anyway to make gcc 3.2 use the old model, i.e. the class
based iostream.h stuff?
The reason is that I am dealing with a large amount of code and since
the template model also changed gcc 3.2 vs. gcc 2.95 I'd like to deal
with one issue at a time, i.e. first deal with all the template stuff
and then the iostream.
next question.
- how is the performance of iostream compared to iostream.h?
I am working on an application were performance is very critical and a
drop in performance due to switching to iostream is going to be a tough
pill to swallow.
Thanks for any advice.
Robert
--
Robert Schweikert MAY THE SOURCE BE WITH YOU
rjschwei@cox.net LINUX