Defines a generalized method that a value type or class implements to create a type-specific method for determining equality of instances.
- Namespace
- xtd
- Library
- xtd.core
- Examples
- The following example shows how to use xtd::ihashable interface.
- Examples
- boxed_info.cpp.
◆ get_hash_code()
virtual xtd::size xtd::ihashable::get_hash_code |
( |
| ) |
const |
|
pure virtualnoexcept |
Serves as a hash function for a particular type.
- Returns
- A hash code for the current object.
The documentation for this class was generated from the following file: