Less¶
-
template<typename
TValueType, typename = void>
structlibsemigroups::Less¶ Defined in
adapters.hpp.This type should be a stateless trivially default constructible with a call operator of signature
bool operator()(TValueType const&, TValueType const&)(possiblynoexcept,inlineand/orconstexpralso) which defines a linear order on the objects of type TValueTypeThe second template parameter exists for SFINAE in overload resolution.
- Template Parameters
TValueType: the type of objects to compare.
- Used by:
Public Functions
-
bool
operator()(TValueType const &x, TValueType const &y) const¶ This call operator compares
xandyusing std::less<TValueType>.