Static stuff..

Malte Starostik malte at kde.org
Tue Dec 31 04:41:46 GMT 2002


On Tuesday 31 December 2002 01:24, Dirk Mueller wrote:
> On Die, 31 Dez 2002, Chris Howells wrote:
> > With the changes on kde-cvs about making methods and variables/constancs
> > static, I'd like to ask when stuff should be made static and when not. Is
> > there any good rule or not?
>
> Make it static unless you can't make it static. :)

Shouldn't all that stuff be in the anonymous namespace instead?
static (file static as opposed to static members and local static) is 
deprecated after all...

-Malte
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20021231/cfc56408/attachment.sig>


More information about the kde-core-devel mailing list