cpp/utility/functional/greater

Function object for performing comparisons. Unless specialized, invokes on type.

Member functions
{{member | {{small|std::greater::}}operator | 2= {{dcl begin}} {{dcl rev multi bool operator( const T& lhs, const T& rhs ) const; constexpr bool operator( const T& lhs, const T& rhs ) const; }} {{dcl end}}
 * dcl1=
 * since2=c++14 | dcl2=

Checks whether {{tt|lhs}} is greater than {{tt|rhs}}.

Return value
For which is not a pointer type,  if,  otherwise.

For which is a pointer type,  if  succeeds  in the implementation-defined strict total order,  otherwise.

Possible implementation
}}