xtd 0.2.0
Loading...
Searching...
No Matches
iequatable.hpp
Go to the documentation of this file.
1
4#pragma once
6#include "interface.hpp"
7
9namespace xtd {
10 template<class type_t>
22 class iequatable interface_, public extensions::equality_operators<type_t, iequatable<type_t>> {
23 public:
25
30 virtual bool equals(const type_t&) const noexcept = 0;
32 };
33}
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.hpp:22
virtual bool equals(const type_t &) const noexcept=0
Indicates whether the current object is equal to another object of the same type.
Contains xtd::extensions::equality_operators class.
#define interface_
This keyword is use to represent an interface.
Definition interface.hpp:58
Contains xtd::interface interface.
The xtd::extensions namespace contains interface extensions.
Definition comparison_operators.hpp:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8