![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtCore More...
#include <qhash.h>
Public Member Functions | |
TryEmplaceResult ()=default | |
TryEmplaceResult (QHash::iterator it, bool b) | |
Q_IMPLICIT | TryEmplaceResult (const std::pair< key_value_iterator, bool > &p) |
Q_IMPLICIT | operator std::pair< key_value_iterator, bool > () |
Public Attributes | |
QHash::iterator | iterator |
bool | inserted |
\inmodule QtCore
The TryEmplaceResult class is used to represent the result of a tryEmplace() operation.
The {TryEmplaceResult} class is used in QHash to represent the result of a tryEmplace() operation. It holds an \l{iterator} to the newly created item, or to the pre-existing item that prevented the insertion, and a boolean, \l{inserted}, denoting whether the insertion took place.
|
inline |
Definition at line 1272 of file qhash.h.
References TryEmplaceResult(), and inserted.
Referenced by TryEmplaceResult().
|
inline |
|
inline |
Definition at line 1268 of file qhash.h.
Referenced by TryEmplaceResult().
QHash::iterator QHash< Key, T >::TryEmplaceResult::iterator |