[Development] Implementation of qFuzzyCompare and zero values

Laszlo Papp lpapp at kde.org
Thu Jul 25 09:47:21 CEST 2013


On Thu, Jul 25, 2013 at 6:34 AM, André Somers <andre at familiesomers.nl>wrote:

> Would it be an option to _add_ a qFuzzyCompareMightBeNull or something
> like that then for cases like Juan describes where you don't know if one
> of the two values might be zero or not? There is no reason to change the
> behaviour of the current function (as said in the bug report: it may
> break or slow down other peoples code doing that), but that does not
> hold adding a new function *defined* to do this, right?


That was also my thought after reading Thiago's email. It would not bloat
the library after all as it is just a small function. I think the bugreport
should be reopened accordingly, and then fixed unless there are good
reasons against it.

Laszlo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130725/69e1309a/attachment.html>


More information about the Development mailing list