From 3cd9536b7f6224b1c8fea2e40afdb5fe7b441f82 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 1 Sep 2022 16:08:40 +0200 Subject: [PATCH] [docs] QMap: fix missing toStdMap()&& overload docs Amends 14090760a87f23509b7bb5ad846537c766cb44a5. I tried to find a linkable definition of valid-but-unspecified on en.cppreference.com, but failed, so I'm using partially-formed like everywhere else in Qt docs. Ideally, we'd have the discussion of partially-formed (and valid-but-unspecified) in some extra page and simply link to it. Created QTBUG-106251 to track the issue. Pick-to: 6.4 6.3 6.2 Change-Id: I04c60cf903b2617c89467d1d040d5aebb7eccd53 Reviewed-by: Thiago Macieira --- src/corelib/tools/qmap.qdoc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/corelib/tools/qmap.qdoc b/src/corelib/tools/qmap.qdoc index 6aee94a8dc..b8ce4224a3 100644 --- a/src/corelib/tools/qmap.qdoc +++ b/src/corelib/tools/qmap.qdoc @@ -202,6 +202,15 @@ Returns an STL map equivalent to this QMap. */ +/*! \fn template std::map QMap::toStdMap() && + + \overload + \since 6.0 + + \note Calling this function will leave this QMap in the partially-formed state, in which + the only valid operations are destruction or assignment of a new value. +*/ + /*! \fn template bool QMap::operator==(const QMap &lhs, const QMap &rhs) Returns \c true if \a lhs is equal to \a rhs; otherwise returns