+ 1
A question about hash tables
Is it possible to create a hash table in C++ without third-party libraries
1 Odpowiedź
+ 1
Yes but you’d need to implement a hashing function. Given that modern hashing functions used for this purpose are ultra-optimized to avoid collisions, your manual implementation is unlikely to be very good in comparison.
But you can absolutely get it to work if that is simply your goal.