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

Doc: Documentation of qAsConst missing

    XMLWordPrintable

Details

    • fedb1f5b7 (dev), 1d261f3a5 (6.6), 910f6ced9 (tqtc/lts-6.5)
    • DaVinci 87, DaVinci 88

    Description

      qAsConst template got deprecated in Qt 6.6:

          \fn template <typename T> typename std::add_const<T>::type &qAsConst(T &t)
          \relates <QtTypeTraits>
          \since 5.7  
      
          \deprecated [6.6] Use std::as_const() instead.
      

      So it is not part of the central documentation for the qttypetraits header anymore. Anyhow, there is also no qttypetraits-proxy-obsolete.html page created, even though it is referenced in the respective index file:

      qtcore/qtcore.index:        <function name="qAsConst" href="qttypetraits-proxy-obsolete.html#qAsConst-1" status="deprecated" access="public" location="qttypetraits.h" documented="true" related="245" meta="plain" overload="true" overload-number="1" type="void" signature="void qAsConst(const T &amp;&amp;t)">
      

      Attachments

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

        Activity

          People

            treinio Topi Reiniö
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes