summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qvector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/tools/qvector.cpp')
-rw-r--r--src/corelib/tools/qvector.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/corelib/tools/qvector.cpp b/src/corelib/tools/qvector.cpp
index a443a6b4e8..8982e797d9 100644
--- a/src/corelib/tools/qvector.cpp
+++ b/src/corelib/tools/qvector.cpp
@@ -195,6 +195,15 @@
\sa resize()
*/
+/*!
+ \fn QVector::QVector(QVector<T> &&other)
+
+ Move-constructs a QVector instance, making it point at the same
+ object that \a other was pointing to.
+
+ \since 5.2
+*/
+
/*! \fn QVector::QVector(int size)
Constructs a vector with an initial size of \a size elements.
@@ -246,6 +255,14 @@
vector.
*/
+/*!
+ \fn QVector<T> &QVector::operator=(QVector<T> &&other)
+
+ Move-assigns \a other to this QVector instance.
+
+ \since 5.2
+*/
+
/*! \fn void QVector::swap(QVector<T> &other)
\since 4.8