Relative Content

Tag Archive for c++c++17

Partial specialization of a class for pointer to members

I’m trying to create a function object where, given a pointer to a member, it calls std::hash of the pointed-to member (or the result of calling the function member), but there’s something wrong about the partial specializations and it doesn’t compile: