Panda3D
|
This hash_compare class hashes a class object. More...
#include "stl_compares.h"
Public Member Functions | |
size_t | operator() (const Key &key) const |
Calls the Key's get_hash() method. | |
bool | operator() (const Key &a, const Key &b) const |
This hash_compare class hashes a class object.
It assumes the Key provides a method called get_hash() that returns a size_t.
Definition at line 191 of file stl_compares.h.
size_t method_hash< Key, Compare >::operator() | ( | const Key & | key | ) | const [inline] |
Calls the Key's get_hash() method.
Reimplemented from stl_hash_compare< Key, Compare >.
Definition at line 223 of file stl_compares.I.