[Development] Can we use std::unique_ptr in Qt base/modules sources since Qt5.7 ?
abbapoh at gmail.com
Mon Jun 13 10:10:00 CEST 2016
If we don't have unique_ptr, then, probably, we don't have move semantics
2016-06-13 10:51 GMT+03:00 Sean Harmer <sean.harmer at kdab.com>:
> On Monday 13 June 2016 06:47:44 Bo Thorsen wrote:
> > Den 12-06-2016 kl. 12:59 skrev Denis Shienkov:
> > >> No, use of the C++11 Standard Library features is not permitted
> > >
> > > Lousy to hear it...
> > >
> > > How to do then RAII to avoid a leaks e.g. for Windows handles (HANDLE,
> > > HKEY, HDEVINFO and other stuff)?
> > QScopedPointer?
> Not moveable.
> Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
> Klarälvdalens Datakonsult AB, a KDAB Group company
> Tel. UK +44 (0)1625 809908, Sweden (HQ) +46-563-540090
> KDAB - Qt Experts - Platform-independent software solutions
> Development mailing list
> Development at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Development