Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
Smooth.Comparisons.IComparableComparer< T > Class Template Reference

Allocation free sort order comparer for type T where T implements IComparable<T>. More...

Inheritance diagram for Smooth.Comparisons.IComparableComparer< T >:
Smooth.Collections.Comparer< T >

Public Member Functions

override int Compare (T l, T r)
 

Additional Inherited Members

- Properties inherited from Smooth.Collections.Comparer< T >
static IComparer< T > Default [get, set]
 

Detailed Description

Allocation free sort order comparer for type T where T implements IComparable<T>.

Only useful to circumvent potential JIT exceptions on platforms without JIT compilation.

Type Constraints
T :IComparable<T> 

Member Function Documentation

override int Smooth.Comparisons.IComparableComparer< T >.Compare ( l,
r 
)
inlinevirtual

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