mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
29 lines
529 B
C
29 lines
529 B
C
|
#ifndef _SYSTEM_COLLECTIONS_GENERIC_EQUALITYCOMPARER_
|
||
|
#define _SYSTEM_COLLECTIONS_GENERIC_EQUALITYCOMPARER_
|
||
|
|
||
|
namespace System
|
||
|
{
|
||
|
namespace Collections
|
||
|
{
|
||
|
namespace Generic
|
||
|
{
|
||
|
template <class T>
|
||
|
class EqualityComparer : IEqualityComparer<T>
|
||
|
{
|
||
|
private:
|
||
|
static EqualityComparer<T> defaultComparer;
|
||
|
|
||
|
public:
|
||
|
static EqualityComparer<T> Default();
|
||
|
|
||
|
|
||
|
|
||
|
bool Equals(T x, T y);
|
||
|
int GetHashCode(T obj);
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif //_SYSTEM_COLLECTIONS_GENERIC_EQUALITYCOMPARER_
|