C++11 hash containers
Well I was hoping for a method that wouldn't require splitting up my namespace and repeating the name several times, but from the responses it looks like there's no way around it. Oh well.
Also, returning 0 for your hash is, generally speaking, a bad idea
I realize its just sample code, but even a simple xor is better than 0.
I realize its just sample code, but even a simple xor is better than 0.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement