![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Core/Hashing.h>
STL-compatible hasher for custom classes where you list the members to be hashed as template parameters. More...
STL-compatible hasher for custom classes where you list the members to be hashed as template parameters.
Internally uses combineHash() on all members of the class that are defined through pointer-to-members in the template parameter pack.
| T | Type of the struct/class to be hashed. |
| PointerToMember | List of pointer-to-member declarations of members of T that should be hashed. The corresponding types must be hashable with std::hash<>. |
Example usage:
Public Member Functions | |
| std::size_t | operator() (const T &t) const |