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: GCC compiler in Red Hat 9


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


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