diff options
| author | Ivan Solovev <ivan.solovev@qt.io> | 2025-01-16 17:50:03 +0100 |
|---|---|---|
| committer | Ivan Solovev <ivan.solovev@qt.io> | 2025-01-17 20:29:18 +0100 |
| commit | b9a5a7852caf5c1296776351efa1781dbce04bbf (patch) | |
| tree | 2cfdab49dd21f23972311a461728fe46add9b309 /src/corelib/io/qdebug.cpp | |
| parent | 23312f256672de757c744a48e838a2c4a2aff5c5 (diff) | |
Provide docs for std::array QDebug streaming operator
Amends b294927a1270f7d0c5aaf0bbe93b617ac995e149.
Found in Qt 6.9 API review.
Pick-to: 6.9
Change-Id: Iab64d52c506030dd755d61edc376bb47865478ff
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/corelib/io/qdebug.cpp')
| -rw-r--r-- | src/corelib/io/qdebug.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/corelib/io/qdebug.cpp b/src/corelib/io/qdebug.cpp index ff9c96ca4d0..9e9c4292355 100644 --- a/src/corelib/io/qdebug.cpp +++ b/src/corelib/io/qdebug.cpp @@ -1147,6 +1147,15 @@ QDebug &QDebug::putTupleLikeImplImpl(const char *ns, const char *what, */ /*! + \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 |
