QHash::TryEmplaceResult Struct
struct QHash::TryEmplaceResultTryEmplaceResult クラスは、tryEmplace() 操作の結果を表すために使用されます。詳細...
この構造体は Qt 6.9 で導入されました。
パブリック変数
詳細説明
TryEmplaceResult
クラスはQHash でtryEmplace() オペレーションの結果を表すために使用されます。これは、新しく作成された項目、または挿入を妨げた既存の項目へのiterator と、挿入が行われたかどうかを示すブール値inserted を保持します。
QHash およびQHash::tryEmplace()も参照のこと 。
メンバ変数ドキュメント
bool TryEmplaceResult::inserted
すでに同じキーのエントリーがあった場合、この値はfalse
。
QHash<Key, T>::iterator TryEmplaceResult::iterator
新しく挿入された要素、または挿入を阻止した要素へのイテレータを保持します。
© 2025 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.