# ConceptComparableConceptA type that can be compared.

Extends EqualityComparableConcept, LessThanComparableConcept EqualityComparableConcept, LessThanComparableConcept FiniteOrderedAlphabetConcept, IntegerConcept, OrderedAlphabetConcept, SignedIntegerConcept, UnsignedIntegerConcept ```Comparable ```

## Detailed Description

Expects instances of type T to be comparable. Comparison operators must return boolean convertible values.

### Valid Expressions

```a < b;
a > b;
a <= b;
a >= b;
```

Invariants:

• (a < b) <=> b > a
• (a <= b) <=> b >= a
• (a == b) <=> (a >= b) && (b >= a)

## Member Function Overview

• `bool T::operator>(T const & other) const;`
C++ built-in greater-than comparison operator.

### Member Functions Inherited From EqualityComparableConcept

• `operator!=`
• `operator==`

### Member Functions Inherited From LessThanComparableConcept

• `operator<`

## Interface Function Overview

• `bool T::operator<=(T const & other) const;`
C++ built-in less-than-or-equal comparison operator.
• `bool T::operator>=(T const & other) const;`
C++ built-in greather-than-or-equal comparison operator.

## Member Functions Detail

### `bool T::operator>(T const & other) const;`

C++ built-in greater-than comparison operator.

This operator can be implemented as a member or a global function.

## Interface Functions Detail

### `bool T::operator<=(T const & other) const;`

C++ built-in less-than-or-equal comparison operator.

This operator can be implemented as a member or a global function.

### `bool T::operator>=(T const & other) const;`

C++ built-in greather-than-or-equal comparison operator.

This operator can be implemented as a member or a global function.