Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.6.0
-
None
-
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 &&t)">