DotNetDupe
4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Toggle main menu visibility
Loading...
Searching...
No Matches
Comparable2.h
Go to the documentation of this file.
1
5
6
#pragma once
7
8
namespace
DotNetDupe
{
9
namespace
System
{
15
template
<
class
T>
16
class
IComparable
{
17
public
:
19
virtual
~IComparable
() =
default
;
20
24
virtual
int
CompareTo
(
const
T& other) = 0;
25
};
26
}
27
}
DotNetDupe::System::IComparable
Defines a generalized type-specific comparison method that a value type or class implements to order ...
Definition
Comparable.h:15
DotNetDupe::System::IComparable::CompareTo
virtual int CompareTo(const T &other)=0
Compares the current instance with another object of the same type and returns an integer indicating ...
DotNetDupe::System::IComparable::~IComparable
virtual ~IComparable()=default
Virtual destructor for polymorphic cleanup.
DotNetDupe::System
Definition
Action.h:11
DotNetDupe
Definition
IServiceCollection.h:7
Include
System
Comparable2.h
Generated by
1.18.0