Qx v0.6
Qt Extensions Library
Loading...
Searching...
No Matches
Qx::comparator Concept Reference

Specifies that a type can act as a comparator. More...

Concept definition

template<typename F, typename T>
Specifies that a type can act as a comparator.
Definition qx-concepts.h:494
Specifies that a type defines a call operator for the specified argument types (with strict return).
Definition qx-concepts.h:240

Detailed Description

Satisfied if F returns a bool when called with two values of T.

Generally it is assumed that the comparator will return true if the values are equal, and false otherwise.