Qx v0.5.8
Qt Extensions Library
Loading...
Searching...
No Matches
Qx::defines_three_way_comp_for_s Concept Reference

Specifies that a type defines a three-way comparison operator for another type (with strict return). More...

Concept definition

template<class K, typename T>
concept Qx::defines_three_way_comp_for_s = requires(K klass, T type) {{ klass <=> type } -> std::convertible_to<std::partial_ordering>;}
Specifies that a type defines a three-way comparison operator for another type (with strict return).
Definition qx-concepts.h:484

Detailed Description

Satisfied if K has a three-way comparison operator defined for T that returns a type that is implicitly convertible to std::partial_ordering.