Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I’ve also done this with hash… though given the footguns scattered about, I wouldn’t be surprised if it broke the spec.


That is a completely intended way to use std::hash, along with a few other functions like std::tuple_size and std::tuple_element.




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

Search: