[Development] Can we use std::unique_ptr in Qt base/modules sources since Qt5.7 ?
bo at vikingsoft.eu
Tue Jun 14 17:03:15 CEST 2016
Den 13-06-2016 kl. 12:16 skrev Denis Shienkov:
> Do you have real example? ;)
Well, as Sean wrote it lacks the move, but if all you're after is to use
it for a pointer in a class or make a local dynamically allocated var
exception safe, then QScopedPointer is fine. It's limited in it's use,
but that doesn't mean it's unusable.
Director, Viking Software.
Qt and C++ developers for hire
More information about the Development