Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-109370

Documentation should state if a construction/conversion function is explicit

    XMLWordPrintable

Details

    • 6b5ffb7e1 (dev), 9229e711e (6.5)
    • DaVinci 70

    Description

      Some constructors and some conversion functions are marked in the source code as explicit. It would be nice if the documentation also mentioned the fact.

      For instance, QList::QList(qsizetype) is explicit, and this is its documentation: https://doc.qt.io/qt-6/qlist.html#QList-2

      Attachments

        Issue Links

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

          Activity

            People

              diseraluca Luca Di Sera
              peppe Giuseppe D'Angelo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes