diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2019-06-23 15:22:28 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2019-06-23 15:52:41 +0200 |
commit | 7eb070b4504e9a3cfac8aee582e84105cd8ebe04 (patch) | |
tree | acd15a9f08d555c677e33f5695ac5de3a20ec783 /src/corelib/tools/qvarlengtharray.qdoc | |
parent | 5e86aa93fc61ab6eb48b2da1704cd7ced6bc302d (diff) |
QVarLengthArray: add qHash overload
[ChangeLog][QtCore][QVarLengthArray] Added a qHash overload.
Change-Id: I771203ae3bb575b49f70e9114287dd2690031b42
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/corelib/tools/qvarlengtharray.qdoc')
-rw-r--r-- | src/corelib/tools/qvarlengtharray.qdoc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/corelib/tools/qvarlengtharray.qdoc b/src/corelib/tools/qvarlengtharray.qdoc index 80769e3769..e5ba47b8ef 100644 --- a/src/corelib/tools/qvarlengtharray.qdoc +++ b/src/corelib/tools/qvarlengtharray.qdoc @@ -903,3 +903,11 @@ \sa indexOf(), lastIndexOf() */ +/*! + template <typename T, int Prealloc> uint qHash(const QVarLengthArray<T, Prealloc> &key, uint seed = 0) + \relates QVarLengthArray + \since 5.14 + + Returns the hash value for \a key, using \a seed to seed the + calculation. +*/ |