paragui-dev
[Top][All Lists]
Advanced

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

Re: [paragui-dev] SigC Namespace usage


From: Alexander Pipelka
Subject: Re: [paragui-dev] SigC Namespace usage
Date: Thu, 28 Oct 2004 13:55:19 +0200

Hi Martin!

Great to see that there's life outside :-)

You're right, using namespaces in header files isn't very clean.
I applied your patch.

Thanks

Alex

Am Mit, den 27.10.2004 schrieb Martin Bickel um 18:53:
> Hi,
> 
> in the file pgsignals.h there's a "using namespace SigC" . While this
> is convenient because it reduces typing and makes for a less cluttered
> header file, it also has a big disadvantage: since pgsignals.h is a
> header file which is public and included in all applications that make
> use of Paragui, it forces these applications to also have the SigC++
> Symbols in the public namespace. Which can be quite annoying because
> SigC++ defines classes like "Object" that have a quite generic name.
> In my opinion, the application developer should decide which namespaces
> to use and which not, so I suggest removing this namespace usage from
> the public header file.
> 
> I've prepared a patch which does exactly this.
> 
> Regards,
> Martin 
> 
> ______________________________________________________________________
> _______________________________________________
> paragui-dev mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paragui-dev





reply via email to

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