Hacker News new | past | comments | ask | show | jobs | submit login

That's very similar to the solution I'm using and that I hate - it involves unnecessary generation and storage of strings and is far less ideal than something like the implementation in tstl I linked above where you can simply provide a custom hash function and equality comparison.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: