6.0.0-rc4Source

QHash::TryEmplaceResult Struct

The QHash::TryEmplaceResult struct is the result of QHash::tryEmplace() and its relatives. More…

Header#include <QHash>
CMaketarget_link_libraries(app PRIVATE Nt::Core)
ModuleNt Core C++ Classes
Since6.9
Nested inQHash

List of all members, including inherited members

Public Variables

typename Base::iteratoriterator
boolinserted

Detailed Description

Differences from Qt

None.

Member Variable Documentation

bool QHash::TryEmplaceResult::inserted

true if a new item was inserted; false if the key was there already.

typename Base::iterator QHash::TryEmplaceResult::iterator

The item with the key, whether it was inserted or was there already.