ORIGINAL
Loading...
Searching...
No Matches
original::StronglyOrdered Concept Reference

Requires type to support strong ordering via three-way comparison. More...

#include <types.h>

Concept definition

template<typename T>
concept original::StronglyOrdered = requires(const T& a, const T& b) {
{ a <=> b } -> std::convertible_to<std::strong_ordering>;
}
Requires type to support strong ordering via three-way comparison.
Definition types.h:151

Detailed Description

Requires type to support strong ordering via three-way comparison.

Template Parameters
TThe type to check.

For types that provide strong ordering guarantees.