4#include <system/collections/iequality_comparer.h>
5#include <system/object_ext.h>
7namespace System {
namespace Collections {
namespace Generic {
9template <
typename T>
class ObjectEqualityComparer;
Provides a base class for implementations of the System::Collections::Generic::IEqualityComparer gene...
Definition: equality_comparer.h:15
RTTI_INFO_TEMPLATE_CLASS(System::Collections::Generic::EqualityComparer< T >, System::BaseTypesInfo< System::Collections::Generic::IEqualityComparer< T > >)
RTTI information.
static SharedPtr< EqualityComparer > get_Default()
Returns a default equality comparer for the type specified by the generic argument.
Definition: equality_comparer.h:24
Interface providing means to compare two objects for equality. Objects of this class should only be a...
Definition: iequality_comparer.h:18
Provides a default implementation of the System::Collections::Generic::EqualityComparer<T> abstract c...
Definition: equality_comparer.h:36
int GetHashCode(T obj) const override
Gets hash code for some object.
Definition: equality_comparer.h:54
RTTI_INFO_TEMPLATE_CLASS(System::Collections::Generic::ObjectEqualityComparer< T >, System::BaseTypesInfo< System::Collections::Generic::EqualityComparer< T > >)
RTTI information.
bool Equals(T x, T y) const override
Definition: equality_comparer.h:46
static int GetHashCode(const T &obj)
Implements GetHashCode() calls; works on both Object subclasses and unrelated types.
Definition: object_ext.h:30
static std::enable_if< IsExceptionWrapper< T >::value, bool >::type Equals(const T &obj, const T2 &another)
Definition: object_ext.h:36
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: db_command.h:9