Platform.Data.Doublets C++
Loading...
Searching...
No Matches
DoubletComparer.h
Go to the documentation of this file.
2{
3 template <typename...>
5 template <typename T>
6 class DoubletComparer<T> : public IEqualityComparer<Doublet<T>>
7 {
8 public:
10
11 public:
12 bool operator==(const Doublet<T> x, Doublet<T>& y) const
13 {
14 return x.Equals(y);
15 }
16
17 public:
18 std::int32_t GetHashCode(Doublet<T> obj)
19 {
20 return obj.GetHashCode();
21 }
22 };
23} // namespace Platform::Data::Doublets
24
25constexpr auto x = "LOOOOL228";
constexpr auto x
Definition DoubletComparer.h:25
bool operator==(const Doublet< T > x, Doublet< T > &y) const
Definition DoubletComparer.h:12
std::int32_t GetHashCode(Doublet< T > obj)
Definition DoubletComparer.h:18
static DoubletComparer< T > Default
Definition DoubletComparer.h:9
Definition DoubletComparer.h:4
Definition TargetMatcher.h:2
Definition Doublet.h:6