StormByte C++ Library 1.2.0
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
Loading...
Searching...
No Matches
StormByte::Type::ThreeWayComparable Concept Reference

Type whose <=> operator is well-formed. More...

#include <StormByte/type_traits/comparison.hxx>

Concept definition

template<typename T>
requires(std::remove_cvref_t<T> const& a, std::remove_cvref_t<T> const& b) {
{ a <=> b };
}
Type whose <=> operator is well-formed.
Definition comparison.hxx:68

Detailed Description

Type whose <=> operator is well-formed.

Template Parameters
TType to test.
template<Type::ThreeWayComparable T>
auto order(T const& a, T const& b) { return a <=> b; }