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