Fix docs for new QDebug streaming operators of std containers
Added the missing function declarations to the #if Q_QDOC part of the header. Also fixed a typo in the std::unordered_map docs. Amends 850d4895be565931d18c92e5e2f9a33b7f26de6d, 0c96528e8d43ad4309bdca14b179a5045984655a, a9fe57fefaac0cb047e4c02e0b8c8f8327e0a58c, and a8c9a5617c72ad2e55bf497df6ff2c2e141cbdef. Found in Qt 6.9 API review. Change-Id: I792023b506e2afdbdca4bca3197887e50c98a788 Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit 256b56f581a66acde829a2f47b3d0f6ed464fb44) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
55f8c072a3
commit
e4d59b698e
@ -1216,7 +1216,7 @@ QDebug &QDebug::putTupleLikeImplImpl(const char *ns, const char *what,
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn template <typename Key, typename T, typename Hash, typename KeyEqual, typename Alloc> QDebug operator<<(QDebug debug, const std::unordered_map<Key, T, Compare, Alloc> &unordered_map)
|
||||
\fn template <typename Key, typename T, typename Hash, typename KeyEqual, typename Alloc> QDebug operator<<(QDebug debug, const std::unordered_map<Key, T, Hash, KeyEqual, Alloc> &map)
|
||||
\relates QDebug
|
||||
\since 6.9
|
||||
|
||||
|
@ -569,6 +569,18 @@ QDebug operator<<(QDebug debug, const std::pair<T1, T2> &pair);
|
||||
template <typename T>
|
||||
QDebug operator<<(QDebug debug, const QContiguousCache<T> &cache);
|
||||
|
||||
template <typename Key, typename Compare, typename Alloc>
|
||||
QDebug operator<<(QDebug debug, const std::multiset<Key, Compare, Alloc> &multiset);
|
||||
|
||||
template <typename Key, typename Compare, typename Alloc>
|
||||
QDebug operator<<(QDebug debug, const std::set<Key, Compare, Alloc> &set);
|
||||
|
||||
template <typename Key, typename T, typename Hash, typename KeyEqual, typename Alloc>
|
||||
QDebug operator<<(QDebug debug, const std::unordered_map<Key, T, Hash, KeyEqual, Alloc> &unordered_map);
|
||||
|
||||
template <typename Key, typename Hash, typename KeyEqual, typename Alloc>
|
||||
QDebug operator<<(QDebug debug, const std::unordered_set<Key, Hash, KeyEqual, Alloc> &unordered_set);
|
||||
|
||||
#endif // Q_QDOC
|
||||
|
||||
template <class T>
|
||||
|
Loading…
x
Reference in New Issue
Block a user