[Development] Qt 5.9's new garbage collector documentation? + root_ptr

Thiago Macieira thiago.macieira at intel.com
Mon Jul 10 19:33:50 CEST 2017


On domingo, 9 de julho de 2017 15:35:43 PDT Phil Bouchard wrote:
> > You'll also need to disentangle it from Boost before it can be used in Qt.
> > Move it to independent headers depending only on the C++98 standard
> > library ( C++11 core language features are ok).
> 
> The licenses are incompatible?  I think I was relying heavily on
> <boost/smart_ptr/detail/sp_counted_base.hpp> because Peter Dimov wrote a
> portable atomic reference counter.  I'm sure there is an equivalent in
> Qt but I'll need some pointers to speed things up.

No, it's not a licensing problem, just that of dependency. We will not depend 
on a prior Boost installation.

If you're looking for a reference counter, we have QRefCount, not to mention 
QAtomicInt. We've had those for longer than they existed in the C++ standard.

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




More information about the Development mailing list