[Development] The age-old T* foo vs. T *foo
Allan Sandfeld Jensen
kde at carewolf.com
Fri Oct 18 09:17:21 CEST 2019
On Thursday, 17 October 2019 22:01:34 CEST Martin Smith wrote:
> >I for one, never liked
> >QObject* x, y;
> >because x is a pointer, and y is not. It seems like they should both be
> But that argues for not allowing the comma.
> QObject* x;
> QObject* y;
> I've always done it that way.
Pretty sure that is also Qt code guidelines, and if not should be ;)
More information about the Development