ConceptC++ Concept Web

Concept LessThanComparable

auto concept LessThanComparable<typename T, typename U = T> {
  bool operator<(T, U);
};

Where Defined

#include <concepts>

Description

Concept LessThanComparable requires the ability to order values via operator<.

operator< is a strict weak ordering relation.