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

Specifies that a type defines a bitwise OR assignment operator for another type (with strict return). More...

Concept definition

template<class K, typename T>
concept Qx::defines_bit_or_assign_for_s = requires(K klass, T type) {{ klass |= type } -> std::same_as<K&>;}
Specifies that a type defines a bitwise OR assignment operator for another type (with strict return).
Definition qx-concepts.h:118

Detailed Description

Satisfied if K has a bitwise OR assignment operator defined for T that returns K&.