Lately I have been refactoring some old code & found it littered with all sorts of things. This particular code had a custom hash-table for hashing based off 3 values instead of 1.
std::tuple are the best fit, or probably providing a custom struct with
std::hash specialization would have served as well. What std library provides is
std::hash for basic types, reference here. There is nothing for composite types. Even for
std::hash for both
std::tuple is what I want to address with this post.