#include "type_allocator.h"
#include "funcutil.h"
#include "math.h"
Go to the source code of this file.
Compounds | |
| class | hash_link |
| class | hashtable |
Typedefs | |
| typedef wrap_ptr<void> | wrap_void_ptr |
| List of void * with a default constructor that sets the pointer to 0. | |
| typedef type_allocator<wrap_void_ptr, __init_hash_table> | hash_list |
| Hash table as a set of void pointers. More... | |
Puts all objects that derive to same hash value into a link list. Link list is dynamically allocated so that if the hash table is resized, only have to copy the pointer to the link list as opposed to each object in the list.
|
|
Hash table as a set of void pointers. Could also do as a vector of hash_links, but some compilers would probably barf at that. |
1.2.0 written by Dimitri van Heesch,
© 1997-2000