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