xtd - Reference Guide
0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
#include <iequatable.h>
Defines a generalized method that a value type or class implements to create a type-specific method for determining equality of instances.
Inherits xtd::interface.
Public Member Functions | |
virtual bool | equals (const object &) const noexcept=0 |
Indicates whether the current object is equal to another object of the same type. More... | |
virtual bool | equals (const type_t &) const noexcept=0 |
Indicates whether the current object is equal to another object of the same type. More... | |
|
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::net::ip_address, and xtd::guid.
|
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::guid.