Namespace confusion
Tom Tromey
tromey@cygnus.com
Fri Aug 13 11:48:00 GMT 1999
>>>>> "Paul" == Paul Matthew Reilly <paul@pajato.com> writes:
Paul> I tried making the namespaces have unique names and I got past
Paul> the namespace compile problem. Does g++ have a requirement that
Paul> all namespaces have unique names?
I'm not sure what you mean.
Do you mean that you can't reopen a namespace?
Or do you mean that having two namespaces with the same, nested in
different parent namespaces, doesn't work?
As far as I know both these cases are allowed. But I stopped learning
C++ before namespaces or exceptions were implemented anywhere...
Tom
More information about the Java
mailing list