\warning Do not copy an implicitly shared container (QMap,
QVector, etc.) while you are iterating over it using an non-const
- \l{STL-style iterator}.
+ \l{STL-style iterators}{STL-style iterator}.
\keyword implicitly shared classes
\annotatedlist shared
/*! \fn QJsonArray::iterator QJsonArray::begin()
- Returns an \l{STL-style iterator} pointing to the first item in
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in
the array.
\sa constBegin(), end()
/*! \fn QJsonArray::const_iterator QJsonArray::constBegin() const
- Returns a const \l{STL-style iterator} pointing to the first item
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item
in the array.
\sa begin(), constEnd()
/*! \fn QJsonArray::iterator QJsonArray::end()
- Returns an \l{STL-style iterator} pointing to the imaginary item
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item
after the last item in the array.
\sa begin(), constEnd()
/*! \fn QJsonArray::const_iterator QJsonArray::constEnd() const
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the array.
\sa constBegin(), end()
/*! \fn QJsonObject::iterator QJsonObject::begin()
- Returns an \l{STL-style iterator} pointing to the first item in
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in
the object.
\sa constBegin(), end()
/*! \fn QJsonObject::const_iterator QJsonObject::constBegin() const
- Returns a const \l{STL-style iterator} pointing to the first item
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item
in the object.
\sa begin(), constEnd()
/*! \fn QJsonObject::iterator QJsonObject::end()
- Returns an \l{STL-style iterator} pointing to the imaginary item
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item
after the last item in the object.
\sa begin(), constEnd()
/*! \fn QJsonObject::const_iterator QJsonObject::constEnd() const
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the object.
\sa constBegin(), end()
/*! \fn QFuture::const_iterator QFuture::begin() const
- Returns a const \l{STL-style iterator} pointing to the first result in the
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first result in the
future.
\sa constBegin(), end()
/*! \fn QFuture::const_iterator QFuture::end() const
- Returns a const \l{STL-style iterator} pointing to the imaginary result
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary result
after the last result in the future.
\sa begin(), constEnd()
/*! \fn QFuture::const_iterator QFuture::constBegin() const
- Returns a const \l{STL-style iterator} pointing to the first result in the
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first result in the
future.
\sa begin(), constEnd()
/*! \fn QFuture::const_iterator QFuture::constEnd() const
- Returns a const \l{STL-style iterator} pointing to the imaginary result
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary result
after the last result in the future.
\sa constBegin(), end()
/*! \fn QHash::iterator QHash::begin()
- Returns an \l{STL-style iterator} pointing to the first item in
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in
the hash.
\sa constBegin(), end()
/*! \fn QHash::const_iterator QHash::cbegin() const
\since 5.0
- Returns a const \l{STL-style iterator} pointing to the first item
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item
in the hash.
\sa begin(), cend()
/*! \fn QHash::const_iterator QHash::constBegin() const
- Returns a const \l{STL-style iterator} pointing to the first item
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item
in the hash.
\sa begin(), constEnd()
/*! \fn QHash::iterator QHash::end()
- Returns an \l{STL-style iterator} pointing to the imaginary item
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item
after the last item in the hash.
\sa begin(), constEnd()
/*! \fn QHash::const_iterator QHash::constEnd() const
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the hash.
\sa constBegin(), end()
/*! \fn QHash::const_iterator QHash::cend() const
\since 5.0
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the hash.
\sa cbegin(), end()
/*! \fn QLinkedList::iterator QLinkedList::begin()
- Returns an \l{STL-style iterator} pointing to the first item in
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in
the list.
\sa constBegin(), end()
/*! \fn QLinkedList::const_iterator QLinkedList::cbegin() const
\since 5.0
- Returns a const \l{STL-style iterator} pointing to the first item
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item
in the list.
\sa begin(), cend()
/*! \fn QLinkedList::const_iterator QLinkedList::constBegin() const
- Returns a const \l{STL-style iterator} pointing to the first item
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item
in the list.
\sa begin(), constEnd()
/*! \fn QLinkedList::iterator QLinkedList::end()
- Returns an \l{STL-style iterator} pointing to the imaginary item
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item
after the last item in the list.
\sa begin(), constEnd()
/*! \fn QLinkedList::const_iterator QLinkedList::cend() const
\since 5.0
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the list.
\sa cbegin(), end()
/*! \fn QLinkedList::const_iterator QLinkedList::constEnd() const
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the list.
\sa constBegin(), end()
/*! \fn QList::iterator QList::begin()
- Returns an \l{STL-style iterator} pointing to the first item in
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in
the list.
\sa constBegin(), end()
/*! \fn QList::const_iterator QList::cbegin() const
\since 5.0
- Returns a const \l{STL-style iterator} pointing to the first item
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item
in the list.
\sa begin(), cend()
/*! \fn QList::const_iterator QList::constBegin() const
- Returns a const \l{STL-style iterator} pointing to the first item
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item
in the list.
\sa begin(), constEnd()
/*! \fn QList::iterator QList::end()
- Returns an \l{STL-style iterator} pointing to the imaginary item
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item
after the last item in the list.
\sa begin(), constEnd()
/*! \fn QList::const_iterator QList::cend() const
\since 5.0
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the list.
\sa cbegin(), end()
/*! \fn QList::const_iterator QList::constEnd() const
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the list.
\sa constBegin(), end()
/*! \fn QMap::iterator QMap::begin()
- Returns an \l{STL-style iterator} pointing to the first item in
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in
the map.
\sa constBegin(), end()
/*! \fn QMap::const_iterator QMap::cbegin() const
\since 5.0
- Returns a const \l{STL-style iterator} pointing to the first item
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item
in the map.
\sa begin(), cend()
/*! \fn QMap::const_iterator QMap::constBegin() const
- Returns a const \l{STL-style iterator} pointing to the first item
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item
in the map.
\sa begin(), constEnd()
/*! \fn QMap::iterator QMap::end()
- Returns an \l{STL-style iterator} pointing to the imaginary item
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item
after the last item in the map.
\sa begin(), constEnd()
/*! \fn QMap::const_iterator QMap::cend() const
\since 5.0
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the map.
\sa cbegin(), end()
/*! \fn QMap::const_iterator QMap::constEnd() const
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the map.
\sa constBegin(), end()
/*! \fn QSet::const_iterator QSet::begin() const
- Returns a const \l{STL-style iterator} positioned at the first
+ Returns a const \l{STL-style iterators}{STL-style iterator} positioned at the first
item in the set.
\sa constBegin(), end()
\since 4.2
\overload
- Returns a non-const \l{STL-style iterator} positioned at the first
+ Returns a non-const \l{STL-style iterators}{STL-style iterator} positioned at the first
item in the set.
*/
/*! \fn QSet::const_iterator QSet::cbegin() const
\since 5.0
- Returns a const \l{STL-style iterator} positioned at the first
+ Returns a const \l{STL-style iterators}{STL-style iterator} positioned at the first
item in the set.
\sa begin(), cend()
/*! \fn QSet::const_iterator QSet::constBegin() const
- Returns a const \l{STL-style iterator} positioned at the first
+ Returns a const \l{STL-style iterators}{STL-style iterator} positioned at the first
item in the set.
\sa begin(), constEnd()
/*! \fn QSet::const_iterator QSet::end() const
- Returns a const \l{STL-style iterator} positioned at the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} positioned at the imaginary
item after the last item in the set.
\sa constEnd(), begin()
\since 4.2
\overload
- Returns a non-const \l{STL-style iterator} pointing to the
+ Returns a non-const \l{STL-style iterators}{STL-style iterator} pointing to the
imaginary item after the last item in the set.
*/
/*! \fn QSet::const_iterator QSet::cend() const
\since 5.0
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the set.
\sa cbegin(), end()
/*! \fn QSet::const_iterator QSet::constEnd() const
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the set.
\sa constBegin(), end()
/*! \fn QString::iterator QString::begin()
- Returns an \l{STL-style iterator} pointing to the first character in
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first character in
the string.
\sa constBegin(), end()
/*! \fn QString::const_iterator QString::cbegin() const
\since 5.0
- Returns a const \l{STL-style iterator} pointing to the first character
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first character
in the string.
\sa begin(), cend()
/*! \fn QString::const_iterator QString::constBegin() const
- Returns a const \l{STL-style iterator} pointing to the first character
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first character
in the string.
\sa begin(), constEnd()
/*! \fn QString::iterator QString::end()
- Returns an \l{STL-style iterator} pointing to the imaginary character
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary character
after the last character in the string.
\sa begin(), constEnd()
/*! \fn QString::const_iterator QString::cend() const
\since 5.0
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the list.
\sa cbegin(), end()
/*! \fn QString::const_iterator QString::constEnd() const
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the list.
\sa constBegin(), end()
/*! \fn QVarLengthArray::iterator QVarLengthArray::begin()
\since 4.8
- Returns an \l{STL-style iterator} pointing to the first item in
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in
the array.
\sa constBegin(), end()
/*! \fn QVarLengthArray::const_iterator QVarLengthArray::cbegin() const
\since 5.0
- Returns a const \l{STL-style iterator} pointing to the first item
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item
in the array.
\sa begin(), cend()
/*! \fn QVarLengthArray::const_iterator QVarLengthArray::constBegin() const
\since 4.8
- Returns a const \l{STL-style iterator} pointing to the first item
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item
in the array.
\sa begin(), constEnd()
/*! \fn QVarLengthArray::iterator QVarLengthArray::end()
\since 4.8
- Returns an \l{STL-style iterator} pointing to the imaginary item
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item
after the last item in the array.
\sa begin(), constEnd()
/*! \fn QVarLengthArray::const_iterator QVarLengthArray::cend() const
\since 5.0
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the array.
\sa cbegin(), end()
/*! \fn QVarLengthArray::const_iterator QVarLengthArray::constEnd() const
\since 4.8
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the array.
\sa constBegin(), end()
/*! \fn QVector::iterator QVector::begin()
- Returns an \l{STL-style iterator} pointing to the first item in
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in
the vector.
\sa constBegin(), end()
/*! \fn QVector::const_iterator QVector::cbegin() const
\since 5.0
- Returns a const \l{STL-style iterator} pointing to the first item
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item
in the vector.
\sa begin(), cend()
/*! \fn QVector::const_iterator QVector::constBegin() const
- Returns a const \l{STL-style iterator} pointing to the first item
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item
in the vector.
\sa begin(), constEnd()
/*! \fn QVector::iterator QVector::end()
- Returns an \l{STL-style iterator} pointing to the imaginary item
+ Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item
after the last item in the vector.
\sa begin(), constEnd()
/*! \fn QVector::const_iterator QVector::cend() const
\since 5.0
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the vector.
\sa cbegin(), end()
/*! \fn QVector::const_iterator QVector::constEnd() const
- Returns a const \l{STL-style iterator} pointing to the imaginary
+ Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary
item after the last item in the vector.
\sa constBegin(), end()