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.

Advances the iterator by 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- ().