Contents

ComparableComparator

A comparator that compares types according to their conformance to the comparable protocol.

Declaration

struct ComparableComparator<Compared> where Compared : Comparable

Overview

The comparator uses the relevant type’s Comparable implementation to compare instances.

Topics

Initializers

See Also

Sorting