template<typename ARG_T, IComparer< ARG_T > BASE_COMPARER>
struct Stroika::Foundation::Common::EqualsComparerAdapter< ARG_T, BASE_COMPARER >
Use this to wrap any basic comparer, and produce an Equals comparer.
This is done by querying the 'type' of the baseComparer with
- See also
- ExtractComparisonTraits_v, and mapping the logic accordingly.
- Note
- attempted deduction guide, but so far doesn't seem to work well, possibly because FunctionTraits may have trouble sometimes deducing argument type (like if function overloaded).
Definition at line 356 of file Compare.h.