Obsolete Members for iterator

以下成员源于类 iterator 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

公共函数

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

成员函数文档编制

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

iterator &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+ ().

iterator 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+ ().

iterator &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++ ().

iterator 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.

iterator &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- ().