xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
collections
generic
icomparer.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
../../interface.hpp
"
6
#include "
../../int32.hpp
"
7
9
namespace
xtd
{
11
namespace
collections
{
13
namespace
generic
{
29
template
<
typename
type_t>
30
class
icomparer
interface_
{
31
public
:
41
[[nodiscard]]
virtual
auto
compare
(
const
type_t&
x
,
const
type_t&
y
)
const
->
int32
= 0;
42
};
43
}
44
}
45
}
xtd::collections::generic::icomparer
Exposes a method that compares two objects.
Definition
icomparer.hpp:30
xtd::collections::generic::icomparer::compare
virtual auto compare(const type_t &x, const type_t &y) const -> int32=0
Compares two entities and returns a value indicating whether one is less than, equal to,...
interface_
#define interface_
This keyword is use to represent an interface.
Definition
interface.hpp:58
xtd::int32
std::int32_t int32
Represents a 32-bit signed integer.
Definition
int32.hpp:25
xtd::console_key::y
@ y
The Y key.
Definition
console_key.hpp:136
xtd::console_key::x
@ x
The X key.
Definition
console_key.hpp:134
int32.hpp
Contains xtd::int32 type.
interface.hpp
Contains xtd::interface interface.
xtd::collections::generic
The xtd::collections::generic namespace contains interfaces and classes that define generic collectio...
Definition
comparer.hpp:16
xtd::collections
The xtd::collections namespace contains interfaces and classes that define various collections of obj...
Definition
any_pair.hpp:10
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.