cpp/utility/functional/less

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

Member functions
{{member|{{small|std::less::}}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 {{c|lhs}} is less than {{c|rhs}}.

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

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

Possible implementation
}}