I think in hash_table7, the return value is wrong. Instead of return do_insert().first, one might just return do_insert();
I.e., the code
return do_insert(key, std::forward(args)...).first;
might need to be changed to
return do_insert(key, std::forward(args)...);
Hi,
Very excellent project.
https://github.com/ktprime/emhash/blob/master/hash_table7.hpp#L1156
I think in hash_table7, the return value is wrong. Instead of return do_insert().first, one might just return do_insert(); I.e., the code return do_insert(key, std::forward(args)...).first;
might need to be changed to
return do_insert(key, std::forward(args)...);
Deshun