This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


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

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

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