RLib  5.7
RLib - an opensource, lightweight and multi-platform framework for cpp programming
System::Collections::Generic::IComparer< R > Class Template Reference

Defines a method that a type implements to compare two objects More...

Inheritance diagram for System::Collections::Generic::IComparer< R >:
System::Collections::Generic::IComparerByDescending< R >

Public Types

using Delegate = int(*)(const R *, const R *)
 
using EqualsDelegate = bool(*)(const R *, const R *)
 

Static Public Member Functions

static RLIB_INLINE int Compare (const R *p1, const R *p2)
 Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other More...
 
static RLIB_INLINE bool Equals (const R *p1, const R *p2)
 Compares two objects and returns a value indicating whether one is equal to the other More...
 

Detailed Description

template<class R>
class System::Collections::Generic::IComparer< R >

Defines a method that a type implements to compare two objects

Member Function Documentation

template<class R >
static RLIB_INLINE int System::Collections::Generic::IComparer< R >::Compare ( const R *  p1,
const R *  p2 
)
inlinestatic

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other

template<class R >
static RLIB_INLINE bool System::Collections::Generic::IComparer< R >::Equals ( const R *  p1,
const R *  p2 
)
inlinestatic

Compares two objects and returns a value indicating whether one is equal to the other


The documentation for this class was generated from the following file: