paragui-dev
[Top][All Lists]
Advanced

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

[paragui-dev] SigC Namespace usage


From: Martin Bickel
Subject: [paragui-dev] SigC Namespace usage
Date: Wed, 27 Oct 2004 18:53:34 +0200

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 

Attachment: SigC-namespace.patch
Description: Binary data


reply via email to

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