[Development] How long until clang memory model is ready?

Thiago Macieira thiago.macieira at intel.com
Wed Jan 22 01:03:21 CET 2014


On terça-feira, 21 de janeiro de 2014 17:39:07, Chris L wrote:
> With clang getting complete draft c++14 support, is the memory model
> sufficient to move to using it by default?  Things like unique_ptr and
> vector really need this.

What do you mean? We've been officially depending on the C++11 memory model 
since sometime in Qt 3. The C++98 memory model is incompatible with threads, 
we were out of it. There was quite a bit of work to fix some of the issues 
during the Qt 5.0 timeframe.

Also, we can't use std::unique_ptr until much later. The Standard Library 
support is much sketchier than the language support from the compiler. I also 
don't see a need to use std::unique_ptr at all in Qt code and we don't use 
std::vector either.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140121/0ee54eb6/attachment.sig>


More information about the Development mailing list