This template specialization allows Attributes to be used as unordered map key.
More...
#include <TheWarehouse.h>
template<>
struct std::hash< Attribute >
This template specialization allows Attributes to be used as unordered map key.
Definition at line 150 of file TheWarehouse.h.
◆ operator()()
Definition at line 153 of file TheWarehouse.h.
155 std::size_t h = attrib.
hash();
unsigned int id() const
returns the unique attribute ID associated with all attributes that have the same (mose derived) clas...
void hash_combine(std::size_t &)
Used for hash function specialization for Attribute objects.
virtual std::size_t hash() const =0
This function must return a deterministic value that is uniquely determined by the data the attribute...
The documentation for this struct was generated from the following file: