On Monday 10 February 2014 07:58:06 Thiago Macieira wrote: > 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.
No it's not. There is the function declaration: QForeachContainer<QStringList> _container_(QStringList(other)); Function named _container_ returning a QForeachContainer, and taking a QStringList as argument (named other) (The __typeof__ was unrelated.) -- Olivier Woboq - Qt services and support - http://woboq.com - http://code.woboq.org _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
