Defined in header
Function object for performing comparisons. Deduces the parameter types of the function call operator from the arguments (but not the return type).
 Member types
||/* unspecified */|
 Member functions
| checks if the first argument is greater than the second |
(public member function)
template< class T, class U >
requires std::totally_ordered_with<T, U> ||
std::ranges::greater requires all six comparison operators
!= to be valid (via the totally_ordered_with constraint) and is entirely defined in terms of
std::ranges::less. However, the implementation is free to use operator> directly, because those concepts require the results of the comparison operators to be consistent.
|This section is incomplete|
Reason: no example
 See also
| function object implementing x > y |