Dynalib Utils
src
Utilities
IHashable.h
Go to the documentation of this file.
1
//
2
// Created by Ken Kopelson on 21/10/17.
3
//
4
5
#if !defined IHASHABLE_H
6
#define IHASHABLE_H
7
8
#include "
IComparable.h
"
9
10
template
<
class
T>
class
IHashable
:
public
IComparable
<T> {
11
public
:
12
IHashable
() =
default
;
13
virtual
~IHashable
() =
default
;
14
virtual
int
hashCode
()
const
= 0;
15
};
16
17
#endif //IHASHABLE_H
IHashable
Definition:
IHashable.h:10
IComparable.h
IHashable::hashCode
virtual int hashCode() const =0
IHashable::IHashable
IHashable()=default
IComparable
Definition:
IComparable.h:8
IHashable::~IHashable
virtual ~IHashable()=default
Generated by
1.8.13