Re: [Development] Disavowing the Lakos Rule for Q_ASSERT

2024-09-05 Thread Thiago Macieira
On Thursday 5 September 2024 10:41:51 CEST Ville Voutilainen wrote: > Well, not necessarily. Consider QVector::operator[]. You can make that > non-noexcept, slap a precondition > on it, and use a throwing violation handler. > > Everything works fine. There's no need to make the QVector code > exce

Re: [Development] Disavowing the Lakos Rule for Q_ASSERT

2024-09-05 Thread Ville Voutilainen
On Wed, 4 Sept 2024 at 14:35, Thiago Macieira wrote: > > I also question the notion of "we don't do exceptions in Qt" popping up > > between the lines in this thread. We _do_ support them in QtCore and > > QtTest, and it's Core you're proposing to plaster with noexcept. > > We partially support th