Obsolete Members for key_iterator

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

公共函數

(obsolete) key_iterator & operator-- ()
(obsolete) key_iterator operator-- ( int )

成員函數文檔編製

key_iterator &key_iterator:: operator-- ()

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

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

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

Calling this function on QHash::keyBegin () leads to undefined results.

另請參閱 operator++ ().

key_iterator key_iterator:: operator-- ( int )

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

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

這是重載函數。

The postfix -- operator ( i-- ) makes the preceding item current and returns an iterator pointing to the previous item.