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

Specifies that a type defines an equal to operator for another type (with strict return). More...

Concept definition

template<class K, typename T>
concept Qx::defines_equality_for_s = requires(K klass, T type) {{ klass == type } -> std::same_as<bool>;}
Specifies that a type defines an equal to operator for another type (with strict return).
Definition qx-concepts.h:412

Detailed Description

Satisfied if K has an equal to operator defined for T that returns bool.