std::hash alongside qHash, so the key works in a std:: container too. More...
#include <phosphor-engine/include/PhosphorEngine/EngineTypes.h>
Public Member Functions | |
| size_t | operator() (const PhosphorEngine::PlacementStateKey &key) const noexcept |
std::hash alongside qHash, so the key works in a std:: container too.
Needed where a value is move-only: Qt's containers are implicitly shared and require copyable values, so anything owning a unique_ptr cannot live in a QHash.
|
inlinenoexcept |