On Tuesday 20 September 2016 12:44:04 Olivier Goffart wrote: > > It is easy to forget registering comparator functions and currently Qt > > doesn't help in debugging such issues. So I wonder if QVariant should > > forbid comparison of custom types without having a comparator function > > registered. > > That's a source incompatible change.
But one of the type we allow (fixes still compile and work with older Qt), in line with adding `explicit` to ctors that miss it. Thanks, Marc -- Marc Mutz <marc.m...@kdab.com> | Senior Software Engineer KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company Tel: +49-30-521325470 KDAB - Qt, C++ and OpenGL Experts _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development