QHash::TryEmplaceResult Struct
struct QHash::TryEmplaceResultThe TryEmplaceResult class is used to represent the result of a tryEmplace() operation. More...
This struct was introduced in Qt 6.9.
Public Variables
Detailed Description
The TryEmplaceResult class is used in QHash to represent the result of a tryEmplace() operation. It holds an iterator to the newly created item, or to the pre-existing item that prevented the insertion, and a boolean, inserted, denoting whether the insertion took place.
See also QHash and QHash::tryEmplace().