xtd 0.2.0
Loading...
Searching...
No Matches
equator.h
Go to the documentation of this file.
1
4#pragma once
5#define __XTD_CORE_INTERNAL__
6#include "../../../internal/__equator.h"
7#undef __XTD_CORE_INTERNAL__
8
10namespace xtd {
12 namespace collections {
14 namespace generic {
16 namespace helpers {
36 template<typename key_t = void>
37 struct equator {
39
46 bool operator()(const key_t& a, const key_t& b) const {return __polymorphic_equator__<key_t, typename std::is_polymorphic<key_t>::type> {}(a, b);}
48 };
49 }
50 }
51 }
52}
@ a
The A key.
@ b
The B key.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Implements a function object for performing comparisons. Unless specialised, invokes operator== on ty...
Definition equator.h:37
bool operator()(const key_t &a, const key_t &b) const
checks if the specified a and b keys are equal.
Definition equator.h:46