On Mon, 26 Aug 2024 at 20:41, Marc Mutz via Development <development@qt-project.org> wrote: > What is unacceptable in (1) (doing nothing) is not even _informing_ > users about what we found¹, so _they_ can decide for themselves what to do. > > ¹ neither at compile-time, nor runtime, nor coding time (static checker) > nor at documentation reading time. > > We want our APIs to be easy to use and hard to abuse. It's easy to abuse > QVariant in this way, so it behooves us to try to do _something_ about it.
Considering that types with throwing destructors are rarer than unicorns, that doesn't exactly seem like something we should put effort into. -- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development