Obsolete Members for QSet

The following members of class QSet are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Types

(obsolete) typedef const_reverse_iterator
(obsolete) typedef reverse_iterator

Public Functions

(obsolete) QSet::const_reverse_iterator crbegin() const
(obsolete) QSet::const_reverse_iterator crend() const
(obsolete) QSet::reverse_iterator rbegin()
(obsolete) QSet::const_reverse_iterator rbegin() const
(obsolete) QSet::reverse_iterator rend()
(obsolete) QSet::const_reverse_iterator rend() const

Member Type Documentation

typedef QSet::const_reverse_iterator

This typedef is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Deprecated in order to align with std::unordered_set functionality.

The QSet::const_reverse_iterator typedef provides an STL-style const reverse iterator for QSet.

It is simply a typedef for std::reverse_iterator<QSet::const_iterator>.

Warning: Iterators on implicitly shared containers do not work exactly like STL-iterators. You should avoid copying a container while iterators are active on that container. For more information, read Implicit sharing iterator problem.

This typedef was introduced in Qt 5.6.

See also QSet::rbegin(), QSet::rend(), QSet::reverse_iterator, and QSet::const_iterator.

typedef QSet::reverse_iterator

This typedef is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Deprecated in order to align with std::unordered_set functionality.

The QSet::reverse_iterator typedef provides an STL-style non-const reverse iterator for QSet.

It is simply a typedef for std::reverse_iterator<QSet::iterator>.

Warning: Iterators on implicitly shared containers do not work exactly like STL-iterators. You should avoid copying a container while iterators are active on that container. For more information, read Implicit sharing iterator problem.

This typedef was introduced in Qt 5.6.

See also QSet::rbegin(), QSet::rend(), QSet::const_reverse_iterator, and QSet::iterator.

Member Function Documentation

QSet::const_reverse_iterator QSet::crbegin() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Deprecated in order to align with std::unordered_set functionality.

Returns a const STL-style reverse iterator pointing to the first item in the set, in reverse order.

This function was introduced in Qt 5.6.

See also begin(), rbegin(), and rend().

QSet::const_reverse_iterator QSet::crend() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Deprecated in order to align with std::unordered_set functionality.

Returns a const STL-style reverse iterator pointing to one past the last item in the set, in reverse order.

This function was introduced in Qt 5.6.

See also end(), rend(), and rbegin().

QSet::reverse_iterator QSet::rbegin()

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Deprecated in order to align with std::unordered_set functionality.

Returns a STL-style reverse iterator pointing to the first item in the set, in reverse order.

This function was introduced in Qt 5.6.

See also begin(), crbegin(), and rend().

QSet::const_reverse_iterator QSet::rbegin() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Deprecated in order to align with std::unordered_set functionality.

This is an overloaded function.

This function was introduced in Qt 5.6.

QSet::reverse_iterator QSet::rend()

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Deprecated in order to align with std::unordered_set functionality.

Returns a STL-style reverse iterator pointing to one past the last item in the set, in reverse order.

This function was introduced in Qt 5.6.

See also end(), crend(), and rbegin().

QSet::const_reverse_iterator QSet::rend() const

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Deprecated in order to align with std::unordered_set functionality.

This is an overloaded function.

This function was introduced in Qt 5.6.

© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.