Mail Archives: djgpp/1998/09/09/23:00:41
In article <6t5dbo$3au$2 AT news2 DOT saix DOT net>, "Rylan" <rylan AT intekom DOT co DOT za> writes:
>Newbie: What are namespaces? What do you use them for?
Goodness. There has been a thread about this just before you asked. I said
that it is a new C++ feature to limit the scope of names, allowing libraries to
be used simultaneously without their names colliding. Then there was
discussion about why a class couldn't do the same thing, and then some people
suggested that Stroustrup discussed them prematurely in his 3rd edition of _The
C++ Programming Language_. Someone posted a message via dejanews under the
name Bjarne Stroustrup saying that there are already implementations that
include support for namespaces, and so the treatment in the third edition
wasn't unrealistic or premature.
I guess you could go to www.delorie.com/djgpp/ and look in the mail archives.
--Ed (Myknees)
- Raw text -