Defines a generalized method that a value type or class implements to create a type-specific method for determining equality of instances.
Public Methods | |
virtual bool | equals (const type_t &) const noexcept=0 |
Indicates whether the current object is equal to another object of the same type. | |
|
pure virtualnoexcept |
Indicates whether the current object is equal to another object of the same type.
obj | An object to compare with this object. |
Implemented in xtd::box< type_t >, xtd::console_key_info, xtd::date_time, xtd::guid, xtd::time_span, xtd::time_zone_info, xtd::toolkit, xtd::type_object, xtd::version, and xtd::uri.