diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-09-01 16:08:40 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-10-11 10:55:55 +0000 |
commit | 99aa595274f7a1a307ce5c8ebcbfadf5f0a7f5e3 (patch) | |
tree | e4d38eb730a04ed0035d8dba6af7fa3571efba66 | |
parent | 642526e625e1133415dc22a6f0232484c05e48b1 (diff) |
[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.
Change-Id: I04c60cf903b2617c89467d1d040d5aebb7eccd53
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 3cd9536b7f6224b1c8fea2e40afdb5fe7b441f82)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/corelib/tools/qmap.qdoc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/corelib/tools/qmap.qdoc b/src/corelib/tools/qmap.qdoc index 1a24f3e2b0..f11443d14d 100644 --- a/src/corelib/tools/qmap.qdoc +++ b/src/corelib/tools/qmap.qdoc @@ -238,6 +238,15 @@ Returns an STL map equivalent to this QMap. */ +/*! \fn template <class Key, class T> std::map<Key, T> QMap<Key, T>::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 <class Key, class T> bool QMap<Key, T>::operator==(const QMap<Key, T> &lhs, const QMap<Key, T> &rhs) Returns \c true if \a lhs is equal to \a rhs; otherwise returns |