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

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

Concept definition

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

Detailed Description

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