Dynalib Utils
src
Utilities
IComparable.h
Go to the documentation of this file.
1
//
2
// Created by Ken Kopelson on 21/10/17.
3
//
4
5
#ifndef ICOMPARABLE_H
6
#define ICOMPARABLE_H
7
8
template
<
class
T>
class
IComparable
{
9
public
:
10
IComparable
() =
default
;
11
virtual
~IComparable
() =
default
;
12
virtual
bool
operator==
(
const
T& other)
const
= 0;
13
};
14
15
#endif //ICOMPARABLE_H
IComparable::IComparable
IComparable()=default
IComparable::operator==
virtual bool operator==(const T &other) const =0
IComparable::~IComparable
virtual ~IComparable()=default
IComparable
Definition:
IComparable.h:8
Generated by
1.8.13