Panda3D
|
This is the default hash_compare class, which assumes the Key is a pointer value. More...
#include "stl_compares.h"
Static Public Member Functions | |
static size_t | add_hash (size_t start, const void *key) |
Adds the indicated key into a running hash. More... | |
Additional Inherited Members | |
![]() | |
bool | is_equal (const const void * &a, const const void * &b) const |
size_t | operator() (const const void * &key) const |
bool | operator() (const const void * &a, const const void * &b) const |
This is the default hash_compare class, which assumes the Key is a pointer value.
It is the same as the system-provided hash_compare.
Definition at line 148 of file stl_compares.h.
|
inlinestatic |
Adds the indicated key into a running hash.
Definition at line 133 of file stl_compares.I.
References AddHash::add_hash(), and floating_point_hash< Key >::operator()().
Referenced by integer_hash< Key, Compare >::add_hash(), NodePath::add_hash(), RenderState::bin_removed(), and TextureAttrib::find_on_stage().