marc at kdab.com
Thu Aug 8 10:09:57 CEST 2019
On 2019-08-08 10:29, Philippe wrote:
> Looks good, except that your proposed qIntrusiveDetached()
> has (apparently) the same "uncertainty" that caused
> to be deprecated.
The problem with shared_ptr::unique() is weak_ptr: weak_ptr::lock() can
materialize new strong references at any time, cf. wg21.link/P1116 for a
possible solution (which, however, isn't implementable in an
ABI-compatible fashion on most platforms).
QISP doesn't have an associated weak_ptr.
More information about the Development