xtd
0.2.0
Loading...
Searching...
No Matches
xtd.core
include
xtd
collections
generic
helpers
comparer.h
Go to the documentation of this file.
1
4
#pragma once
5
#include <functional>
6
8
namespace
xtd
{
10
namespace
collections {
12
namespace
generic {
14
namespace
helpers {
35
template
<
typename
type_t =
void
>
36
struct
comparer
{
38
44
constexpr
bool
operator()
(
const
type_t& lhs,
const
type_t& rhs)
const
{
return
std::less {}(lhs, rhs);}
46
};
47
}
48
}
49
}
50
}
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
xtd_about_box.h:10
xtd::collections::generic::helpers::comparer
Implements a function object for compare data.
Definition
comparer.h:36
xtd::collections::generic::helpers::comparer::operator()
constexpr bool operator()(const type_t &lhs, const type_t &rhs) const
Serves as a hash function for a specified key with a particular type (type_t).
Definition
comparer.h:44
Generated on Thu Oct 17 2024 16:02:59 for xtd by
Gammasoft
. All rights reserved.