3 ms·
> but cannot really use it in collections like BTreeMap Given the nature of floats, is this really a problem? Worst case scenario the floats can be represente
by spoiler 4y ago
> but cannot really use it in collections like BTreeMap
Given the nature of floats, is this really a problem?
Worst case scenario the floats can be represented differently, if one really needs to use them as keys.
- erk__ 4y agoYeah it was mostly to give a example of where a wrapped type would be better than `total_cmp`. E.g. something that needs the value to implement Ord.