[Development] What's the status of a moved-from object?

Konstantin Shegunov kshegunov at gmail.com
Mon May 20 23:30:57 CEST 2019


On Tue, May 21, 2019 at 12:27 AM André Pönitz <apoenitz at t-online.de> wrote:

> > Somehow  *suggest* to the user that [s]he's supposed to build in
> > debug mode otherwise they're on their own?
>
> Nobody forces you to use Q_ASSERT.
>

Now you lost me. I don't, it was suggested as a means to prevent at-library
site accessing a partially formed state - i.e. for prevention of touching a
moved-from object that had its d-ptr nulled. I don't have access to the
d-ptr from the outside.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20190521/d2fbadd3/attachment.html>


More information about the Development mailing list