ShlubluLib  v0.5
ShlubluLib is a lightweight, modular, general purpose, open-source C++ library for Linux and Windows.
Public Member Functions | List of all members
shlublu::Python::ObjectHandler::Hasher Class Reference

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...
 

Detailed Description

Key hasher to be used with unordered containers such as std::unordered_map or std::unordered_set.

See also
std::unordered_map
std::unordered_set

Typical examples of use

std::unordered_set<ObjectHandler, ObjectHandler::Hasher> objectHandlersSet;

Member Function Documentation

◆ operator()()

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.


The documentation for this class was generated from the following file: