From 4dee5446bee9c7417bf6f5dc44294a0b7238a9ba Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Mon, 5 Mar 2018 20:37:42 +0100 Subject: Add missing rvalue overloads of operator+=() and operator<<() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They were forgotten when the overloads for append()/push_back() were added in Qt 5.6 [ChangeLog][QtCore][QVarLengthArray] Added missing rvalue overload of operator+=() and operator<<() [ChangeLog][QtCore][QVector] Added missing rvalue overload of operator+=() and operator<<() Change-Id: I20fedfba2bf282773bd1f9cf2c8ec06f05896a7d Reviewed-by: Martin Smith Reviewed-by: MÃ¥rten Nordheim --- src/corelib/tools/qvarlengtharray.qdoc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/corelib/tools/qvarlengtharray.qdoc') diff --git a/src/corelib/tools/qvarlengtharray.qdoc b/src/corelib/tools/qvarlengtharray.qdoc index 336f2afaca..bc8df82517 100644 --- a/src/corelib/tools/qvarlengtharray.qdoc +++ b/src/corelib/tools/qvarlengtharray.qdoc @@ -832,6 +832,14 @@ \sa append(), operator+=() */ +/*! \fn template QVarLengthArray &QVarLengthArray::operator<<(T &&value) + \since 5.11 + + \overload + + \sa append(), operator+=() +*/ + /*! \fn template QVarLengthArray &QVarLengthArray::operator+=(const T &value) \since 4.8 @@ -840,6 +848,14 @@ \sa append(), operator<<() */ +/*! \fn template QVarLengthArray &QVarLengthArray::operator+=(T &&value) + \since 5.11 + + \overload + + \sa append(), operator<<() +*/ + /*! \fn template int QVarLengthArray::indexOf(const T &value, int from = 0) const \since 5.3 -- cgit v1.2.3