diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2018-03-05 20:37:42 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2018-03-07 18:36:40 +0000 |
commit | 4dee5446bee9c7417bf6f5dc44294a0b7238a9ba (patch) | |
tree | 533379da0c5f054f0f9cd10d75987fa2ad2fa724 /src/corelib/tools/qvector.qdoc | |
parent | 808adeb7bc53208a1c30f425fce6359a17f00170 (diff) |
Add missing rvalue overloads of operator+=() and operator<<()
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 <martin.smith@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/tools/qvector.qdoc')
-rw-r--r-- | src/corelib/tools/qvector.qdoc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/corelib/tools/qvector.qdoc b/src/corelib/tools/qvector.qdoc index cc250b72a5..9a08b030f7 100644 --- a/src/corelib/tools/qvector.qdoc +++ b/src/corelib/tools/qvector.qdoc @@ -1162,6 +1162,14 @@ \sa append(), operator<<() */ +/*! \fn template <typename T> void QVector<T>::operator+=(T &&value) + \since 5.11 + + \overload + + \sa append(), operator<<() +*/ + /*! \fn template <typename T> QVector<T> QVector<T>::operator+(const QVector<T> &other) const Returns a vector that contains all the items in this vector @@ -1178,6 +1186,15 @@ \sa append(), operator+=() */ +/*! \fn template <typename T> QVector<T> &QVector<T>::operator<<(T &&value) + \since 5.11 + + \overload + + \sa append(), operator+=() +*/ + + /*! \fn template <typename T> QVector<T> &QVector<T>::operator<<(const QVector<T> &other) Appends \a other to the vector and returns a reference to the |