VoidPtrHash Struct Reference

VoidPtrHash can be used to create a hash_map or hash_set with pointers as keys. More...

#include <VoidPtrHash.h>

List of all members.

Public Member Functions

size_t operator() (void *key) const


Detailed Description

VoidPtrHash can be used to create a hash_map or hash_set with pointers as keys.

Definition at line 33 of file VoidPtrHash.h.


Member Function Documentation

size_t VoidPtrHash::operator() ( void *  key  )  const [inline]

Definition at line 35 of file VoidPtrHash.h.

00036     {
00037         return reinterpret_cast<size_t>(key);
00038     }


The documentation for this struct was generated from the following file:
Generated on Mon Jun 22 04:00:49 2009 for Fennel by  doxygen 1.5.1