## Comparer class


Provides a base class for implementations of the [System.Collections.Generic.IComparer](../icomparer/) generic interface.

```cpp
template<class T>class Comparer : public System::Collections::Generic::IComparer<T>
```


| Parameter | Description |
| --- | --- |
| T | The type of objects to compare. |
## Methods

| Method | Description |
| --- | --- |
| static [get_Default](./get_default/)() | Returns a default sort order comparer for the type specified by the generic argument. |
## Typedefs

| Typedef | Description |
| --- | --- |
| [BaseType](./basetype/) | Interface implemented. |
| [ThisType](./thistype/) | Curent type. |

## See Also

* Class [IComparer](../icomparer/)
* Namespace [System::Collections::Generic](../)
* Library [Aspose.TeX for C++](../../)
