[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KParts::ComponentFactory to namespace?
From: Simon Hausmann <hausmann () kde ! org>
Date: 2007-05-27 0:32:26
Message-ID: 200705270232.29755.hausmann () kde ! org
[Download RAW message or body]
On Sunday 27 May 2007 01:50:59 Alex Merry wrote:
> Is it OK to make KParts::ComponentFactory into a namespace, to stop
> anyone trying to instantiate it?
>
> It just has five static template methods and, given the existence of
> KParts::Factory, I can't imagine that there'll be any need to make it
> into a real class at any point.
It used to be a namespace because of a compiler bug in gcc 2.96 IIRC. But
since we don't support that compiler anymore anyway (KDE's minimum is at
least gcc 3.3) I agree with changing it to a namespace.
Simon
P.S.: Nice cleanups in kdelibs!
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic