[Development] Use of Standard Library containers in Qt source code

Thiago Macieira thiago.macieira at intel.com
Wed Jul 6 17:52:18 CEST 2016

On quarta-feira, 6 de julho de 2016 11:08:22 PDT Marc Mutz wrote:
> The underlying theme here, I think, is: idiomatic code. Qt has its set of 
> idioms (like ending QObject subclass ctors in QObject *parent=nullptr), but
> it  largely ignores C++ idioms. And that leads to complicated code and
> throws off contributors that are used to idiomatic C++.
> C++ is the language Qt is written in. You need to learn the language's
> idioms.

I dispute calling them "C++ idioms". Can you prove that all other major C++ 
libraries except Qt use them? For example, Google code, Folly, etc. Do they 
all use those idioms? Are their developers familiar with it?

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

More information about the Development mailing list