StormByte 2.0.0
C++26 foundation of the StormByte suite
 
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:97

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; }