XMLWordPrintable

Details

    • Technical task
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • Core: I/O
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes