[Development] The age-old T* foo vs. T *foo

Thiago Macieira thiago.macieira at intel.com
Fri Oct 18 17:39:03 CEST 2019


On Thursday, 17 October 2019 23:02:06 PDT Kai Pastor, DG0YT wrote:
> char *const key  vs.  char* const key

Third option:

char * const key;

I've seen all three in Qt source, though I think your first one is the one 
that strictly follows our coding style guidelines.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products





More information about the Development mailing list