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

Specifies that a type defines an addition operator for another type. More...

Concept definition

template<class K, typename T>
concept Qx::defines_add_for = requires(K klass, T type) {{ klass + type};}
Specifies that a type defines an addition operator for another type.
Definition qx-concepts.h:288

Detailed Description

Satisfied if K has an addition operator defined for T.