Closed HailongYang96 closed 1 year ago
operator== is implemented here: https://github.com/martinus/unordered_dense/blob/main/include/ankerl/unordered_dense.h#L1782
Wow, thanks for your clarification! I am trying to overload the operator== with the template function, but it does not work for me🥹 Could you help with that... I really appreciate that🙏!!
That's a question for https://www.reddit.com/r/cpp_questions/, this is not a bug in the map
Describe the bug (I am a new fish in C++. If there are some errors, please forgive me :) When I am trying to overload the
operator==()
fordetail::table
like below, I found it doesn't work for me. The custom function is not invoked.I trying to understand why, so I referred to std::map and std::unordered_map. I found the operator== for them is defined as the template in its class. Compared with
unordered_dense::detail::table
it is not a template function.My questions are:
operator==
forankerl::unordered_dense::detail::table
?To Reproduce
Expected behavior
System: