pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: usage of namespaces


From: Ingo Ruhnke
Subject: Re: usage of namespaces
Date: 06 Jun 2002 11:39:09 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Ingo Ruhnke <address@hidden> writes:

> The problem is when a libraries doesn't have its own namespace, so
> some of the Pingus stuff can conflict with the library. Hm, but ok
> then one could put the library into a namespace instead of the
> application. Well, I never created namespaces myself so I don't really
> know what I am doing.

And beside that a 'namespace Pingus' shouldn't make much difference,
since everything in Pingus should be in namespace Pingus one wouldn't
have to use tons of 'Pingus::' in the header files. In the .cc files
one can use 'using namespace Pingus::...'

Anyway, in src/worldmap/PingusWorldMapNode* I have now inserted a
Pingus and a Pingus::WorldMap namespace.

-- 
Advent:     http://www.freesoftware.fsf.org/advent/
Feuerkraft: http://www.freesoftware.fsf.org/feuerkraft/
Pingus:     http://pingus.seul.org/           || ICQ:      59461927
Home:       http://pingus.seul.org/~grumbel/  || JabberID: address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]