Hacker News new | ask | show | jobs
by tyleo 606 days ago
I’ve also done this with hash… though given the footguns scattered about, I wouldn’t be surprised if it broke the spec.
1 comments

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