xtd 0.2.0
Loading...
Searching...
No Matches
comparer.h
Go to the documentation of this file.
1
4#pragma once
5#include <functional>
6
8namespace 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}
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Implements a function object for compare data.
Definition comparer.h:36
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