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

Specifies that a type defines a unary minus operator (with strict return). More...

Concept definition

template<class K>
concept Qx::defines_unary_minus_s = requires(K klass) {{ -klass } -> std::same_as<K>;}
Specifies that a type defines a unary minus operator (with strict return).
Definition qx-concepts.h:279

Detailed Description

Satisfied if K has a unary minus operator defined that returns K.