python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
std::unordered_set and alternative and overcomplicated ways of defining custom Hash and EqualKey
I am working with std::unordered_set of CustomKey objects and I am thinking about how to complicate my life.
I already know the idiomatic ways of using custom Hash and EqualKey. For custom Hash it's p...

vaeVictis
Votes: 0
Answers: 0
Why isn't std::hash specialized for containers?
I started looking into std::unordered_set today and quickly found that std::hash doesn't specialize for all types -- only for those types that are listed here, but I couldn't find the reasoning for wh...
Pacopenguin
Votes: 0
Answers: 0
How set is different from unordered_set in c++?
I was solving a problem where I have to find the number of distinct numbers so I used unordered_set and insert the given elements in the set, then I printed the size of the set.
#include <bits/std...

Ayush Gupta
Votes: 0
Answers: 0