xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
iequatable.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
extensions/equality_operators.hpp
"
6
#include "
interface.hpp
"
7
9
namespace
xtd
{
10
template
<
typename
type_t>
23
class
iequatable
interface_
, public
extensions
::equality_operators<type_t, iequatable<type_t>> {
24
public
:
26
31
[[nodiscard]]
virtual
auto
equals
(
const
type_t&)
const
noexcept
->
bool
= 0;
33
};
34
}
xtd::iequatable
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition
iequatable.hpp:23
xtd::iequatable::equals
virtual auto equals(const type_t &) const noexcept -> bool=0
Indicates whether the current object is equal to another object of the same type.
equality_operators.hpp
Contains xtd::extensions::equality_operators class.
interface_
#define interface_
This keyword is use to represent an interface.
Definition
interface.hpp:58
interface.hpp
Contains xtd::interface interface.
xtd::extensions
The xtd::extensions namespace contains interface extensions.
Definition
comparison_operators.hpp:13
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
Generated on
for xtd by
Gammasoft
. All rights reserved.