Hash< void * > Class Template Reference
Hash specialization for hashing pointer addresses.
More...
List of all members.
|
Public Member Functions |
| | Hash () |
| unsigned | operator() (const void *const &p, unsigned seed) const |
| unsigned | operator() (const void *const &p) const |
Detailed Description
template<>
class Foam::Hash< void * >
Hash specialization for hashing pointer addresses.
Treat a pointer like a long. This should work for both 32-bit and 64-bit pointers.
Definition at line 71 of file Hash.H.
Constructor & Destructor Documentation
Member Function Documentation
| unsigned operator() |
( |
const void *const & |
p, |
|
|
unsigned |
seed | |
|
) |
| | const [inline] |
| unsigned operator() |
( |
const void *const & |
p |
) |
const [inline] |
The documentation for this class was generated from the following file:
- src/OpenFOAM/primitives/hashes/Hash/Hash.H
Copyright © 2000-2009 OpenCFD Ltd