Provide docs for std::array QDebug streaming operator

Amends b294927a1270f7d0c5aaf0bbe93b617ac995e149.

Found in Qt 6.9 API review.

Change-Id: Iab64d52c506030dd755d61edc376bb47865478ff
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit b9a5a7852caf5c1296776351efa1781dbce04bbf)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Ivan Solovev 2025-01-16 17:50:03 +01:00 committed by Qt Cherry-pick Bot
parent 65e70cec0b
commit 7a579851c2

View File

@ -1146,6 +1146,15 @@ QDebug &QDebug::putTupleLikeImplImpl(const char *ns, const char *what,
support streaming into QDebug.
*/
/*!
\fn template <typename T, std::size_t N> QDebug operator<<(QDebug debug, const std::array<T, N> &array)
\relates QDebug
\since 6.9
Writes the contents of \a array to \a debug. \c T needs to
support streaming into QDebug.
*/
/*!
\fn template <typename T> QDebug operator<<(QDebug debug, const QSet<T> &set)
\relates QDebug