GCC compiler in Red Hat 9

Alexandre Oliva aoliva@redhat.com
Tue Jan 13 14:01:00 GMT 2004


On Jan 12, 2004, Heiko Joerg Schick <info@schihei.de> wrote:

> 1. <iostream.h> is not part of standard C++. The 1998 C++ standard
> uses <iostream> (no ".h")

Actually, it is, but deprecated.  Its effect is equivalent to #include
<iostream> followed by using statements that bring in the declarations
from iostream into the global namespace.

> 2. Both <iostream> and <string> are in the "std" namespace.

Strictly speaking, header files are not in namespaces.  It's the
declarations they introduce that are.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Happy GNU Year!                     oliva@{lsd.ic.unicamp.br, gnu.org}
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Gcc-help mailing list