LogViewer
A modern log viewer with AI-assisted analysis (Qt 6)
Loading...
Searching...
No Matches
util::Orderable Concept Reference

Matches types that support ordering operations. More...

#include <Concepts.hpp>

Concept definition

template<typename T>
concept util::Orderable = Comparable<T> && requires(const T& a, const T& b) {
{ a < b } -> std::convertible_to<bool>;
{ a <= b } -> std::convertible_to<bool>;
{ a > b } -> std::convertible_to<bool>;
{ a >= b } -> std::convertible_to<bool>;
}
Matches types that can be compared for equality.
Definition Concepts.hpp:85
Matches types that support ordering operations.
Definition Concepts.hpp:108

Detailed Description

Matches types that support ordering operations.

Template Parameters
TThe type to check