You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many of the libraries methods are reliant on both operator<, operator==, andoperator!=. Ideally reliance should only be on operator< - in a similar way to std::sort andstd::set. This is annoying as it requires users to define all these operators for Mappable types. Currently the easiest way to do this is to inherit from Comparable and implement operator< and operator==.
The text was updated successfully, but these errors were encountered:
Many of the libraries methods are reliant on both
operator<
,operator==
, andoperator!=
. Ideally reliance should only be onoperator<
- in a similar way tostd::sort
andstd::set
. This is annoying as it requires users to define all these operators forMappable
types. Currently the easiest way to do this is to inherit fromComparable
and implementoperator<
andoperator==
.The text was updated successfully, but these errors were encountered: