This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Namespace confusion
>>>>> "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