Details
-
Technical task
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
None
Description
For the example in the main task, get rid of these candidates:
[build] /Users/vohi/qt/dev/build/qtbase/include/QtCore/../../../../qtbase/src/corelib/serialization/qcborcommon.h:96:13: note: candidate function not viable: no known conversion from 'A' to 'QCborTag' for 1st argument [build] inline bool operator!=(QCborTag t, QCborKnownTags kt) { return quint64(t) != quint64(kt); } [build] ^ [build] /Users/vohi/qt/dev/build/qtbase/include/QtCore/../../../../qtbase/src/corelib/serialization/qcborcommon.h:97:13: note: candidate function not viable: no known conversion from 'A' to 'QCborKnownTags' for 1st argument [build] inline bool operator!=(QCborKnownTags kt, QCborTag t) { return quint64(t) != quint64(kt); }
Since those are enum classes (which can't have friends) it might not be possible to do that though.