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.
Marc Mutz <marc.m...@kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
KDAB - Qt, C++ and OpenGL Experts
Development mailing list