Obsolete Members for const_iterator

以下成員源於類 const_iterator 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

(obsolete) const_iterator operator+ (int j ) const
(obsolete) const_iterator & operator+= (int j )
(obsolete) const_iterator operator- (int j ) const
(obsolete) const_iterator & operator-- ()
(obsolete) const_iterator operator-- ( int )
(obsolete) const_iterator & operator-= (int j )

成員函數文檔編製

const_iterator const_iterator:: operator+ ( int j ) const

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

This operator is deprecated in order to align with std::unordered_set functionality.

Returns an iterator to the item at j positions forward from this iterator. (If j is negative, the iterator goes backward.)

This operation can be slow for large j 值。

另請參閱 operator- ().

const_iterator &const_iterator:: operator+= ( int j )

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

This operator is deprecated in order to align with std::unordered_set functionality.

推進迭代器 j items. (If j is negative, the iterator goes backward.)

This operation can be slow for large j 值。

另請參閱 operator-= () 和 operator+ ().

const_iterator const_iterator:: operator- ( int j ) const

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

This operator is deprecated in order to align with std::unordered_set functionality.

Returns an iterator to the item at j positions backward from this iterator. (If j is negative, the iterator goes forward.)

This operation can be slow for large j 值。

另請參閱 operator+ ().

const_iterator &const_iterator:: operator-- ()

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

This operator is deprecated in order to align with std::unordered_set functionality.

The prefix -- operator ( --it ) makes the preceding item current and returns an iterator to the new current item.

Calling this function on QSet::begin () leads to undefined results.

另請參閱 operator++ ().

const_iterator const_iterator:: operator-- ( int )

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

This operator is deprecated in order to align with std::unordered_set functionality.

這是重載函數。

The postfix -- operator ( it-- ) makes the preceding item current and returns an iterator to the previously current item.

const_iterator &const_iterator:: operator-= ( int j )

此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。

This operator is deprecated in order to align with std::unordered_set functionality.

Makes the iterator go back by j items. (If j is negative, the iterator goes forward.)

This operation can be slow for large j 值。

另請參閱 operator+= () 和 operator- ().