plasma/kdelibs coding style and pointers

Jason Stubbs jasonbstubbs at gmail.com
Mon Sep 1 08:27:58 CEST 2008


2008/9/1 Gerhard Gappmeier <gerhard.gappmeier at ascolab.com>

>  Hi Jason,
>
> in my opinion this is correct
>
> and that's the way I'm coding :-)
>
> Putting the asterisk to the variable is the correct way
>
> to use because it doesn't lead to misunderstanding
>
> and it's the way the compiler interprets it
>

With the rule of having only one definition per line, this reasoning is
mostly irrelevant. But I'm not really interested in arguing the merits of X
or Y. I'd just like to confirm that I'm correctly understanding where to put
the asterisk as far as the kdelibs coding style goes.

--
Jason Stubbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20080901/b243cc37/attachment.htm 


More information about the Plasma-devel mailing list