This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC compiler in Red Hat 9
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Heiko Joerg Schick <info at schihei dot de>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 13 Jan 2004 12:01:03 -0200
- Subject: Re: GCC compiler in Red Hat 9
- Organization: GCC Team, Red Hat
- References: <000801c3d946$4869d7a0$ed6e8e3e@pc1> <4002FF58.8020209@schihei.de>
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