ShlubluLib
v0.5
ShlubluLib is a lightweight, modular, general purpose, open-source C++ library for Linux and Windows.
|
Key hasher to be used with unordered containers such as std::unordered_map
or std::unordered_set
.
More...
#include <Python_ObjectHandler.h>
Public Member Functions | |
int64_t | operator() (ObjectHandler const &key) const |
Returns the key hash of an instance of ObjectHandler. More... | |
Key hasher to be used with unordered containers such as std::unordered_map
or std::unordered_set
.
Typical examples of use
int64_t shlublu::Python::ObjectHandler::Hasher::operator() | ( | ObjectHandler const & | key | ) | const |
Returns the key hash of an instance of ObjectHandler.
Hash is based on ObjectHandler::id()
only.