|
ORIGINAL
|
Forward declaration of hashable interface template. More...
#include <hash.h>


Public Member Functions | |
| virtual u_integer | toHash () const noexcept |
| Computes the hash of the object. | |
| virtual bool | equals (const DERIVED &other) const noexcept |
| Compares two objects for equality. | |
| virtual | ~hashable ()=0 |
| Virtual destructor. | |
Forward declaration of hashable interface template.
Interface for user-defined hashable types.
| DERIVED | The derived class that inherits from hashable. |
| DERIVED | The derived type |
Provides default implementations for:
Usage:
|
virtualnoexcept |
Compares two objects for equality.
| other | The object to compare with |
Default implementation uses operator==
|
virtualnoexcept |
Computes the hash of the object.
Default implementation uses byte-wise hashing of object
Reimplemented in original::autoPtr< TYPE, DERIVED, DELETER >, original::autoPtr< original::filter< TYPE >, strongPtr< original::filter< TYPE >, DELETER >, DELETER >, original::autoPtr< TYPE, ownerPtr< TYPE, deleter< TYPE > >, deleter< TYPE > >, original::autoPtr< TYPE, strongPtr< TYPE, DELETER >, DELETER >, and original::autoPtr< TYPE, weakPtr< TYPE, DELETER >, DELETER >.