From 7a579851c293c95bf03a1b3972eed4c9daf0a3be Mon Sep 17 00:00:00 2001 From: Ivan Solovev Date: Thu, 16 Jan 2025 17:50:03 +0100 Subject: [PATCH] Provide docs for std::array QDebug streaming operator Amends b294927a1270f7d0c5aaf0bbe93b617ac995e149. Found in Qt 6.9 API review. Change-Id: Iab64d52c506030dd755d61edc376bb47865478ff Reviewed-by: Thiago Macieira Reviewed-by: Marc Mutz (cherry picked from commit b9a5a7852caf5c1296776351efa1781dbce04bbf) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/io/qdebug.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/corelib/io/qdebug.cpp b/src/corelib/io/qdebug.cpp index b2e5a7ca6ce..12adcf947df 100644 --- a/src/corelib/io/qdebug.cpp +++ b/src/corelib/io/qdebug.cpp @@ -1146,6 +1146,15 @@ QDebug &QDebug::putTupleLikeImplImpl(const char *ns, const char *what, support streaming into QDebug. */ +/*! + \fn template QDebug operator<<(QDebug debug, const std::array &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 QDebug operator<<(QDebug debug, const QSet &set) \relates QDebug