Phoenix
Object-oriented orthogonally persistent operating system
|
Class which represents generic numeric value, both integer and floating point. More...
#include <numeric.h>
Public Member Functions | |
virtual hash_t | __hash__ () const |
Get objects hash. |
Class which represents generic numeric value, both integer and floating point.
virtual hash_t triton::triton_internal::Numeric< T >::__hash__ | ( | ) | const [inline, virtual] |
Get objects hash.
The hash is used for optimized organizing of objects in collections. The hash should provide good distribution of values. Two equal objects must return the same hash value.
Reimplemented from triton::Object.