C++11 hash containers

Started by
11 comments, last by Storyyeller 12 years, 4 months ago
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.
I trust exceptions about as far as I can throw them.
Advertisement
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.

In time the project grows, the ignorance of its devs it shows, with many a convoluted function, it plunges into deep compunction, the price of failure is high, Washu's mirth is nigh.

Yeah, that's obviously not my real hash function.
I trust exceptions about as far as I can throw them.

This topic is closed to new replies.

Advertisement