[Development] QForeachContainer mystery

Thiago Macieira thiago.macieira at intel.com
Mon Feb 10 16:58:06 CET 2014


Em seg 10 fev 2014, às 16:27:56, Joerg Bornemann escreveu:
> On 10-Feb-14 15:23, Joerg Bornemann wrote:
> > Looks like __typeof__, which is used when building with a recent gcc,
> > behaves differently when passing a c'tor?
> 
> Well it seems to be the type of the constructor, not the type of the
> constructed object.

It's actually not a constructor. It's the ages-old C++ mystery: what does this 
declare?

	QStringList(other);

It's actually a function declaration.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list